kaocha 2025-12-07

is there a way to tell kaocha that some namespaces should not be reloaded?

you can list specific files to ignore

that looks like it ignores them for the file watcher, not for the reloader

👍 1

the closest i found for the reloader is https://github.com/clojure/tools.namespace?tab=readme-ov-file#disabling-refresh-in-a-namespace but it specifically says "Use this feature sparingly: it exists as a development-time convenience, not a work-around for code that is not reload-safe" which worries me

hm, it doesn't seem to even work for the watcher, i'm not sure what i'm doing wrong. i put :kaocha.watch/ignore ["defaults/**"] in my tests.edn but it still ran when i modified a file in ./defaults.

is there some way to debug what it's doing?

hmm i'm not sure then, sorry