kaocha

jyn 2025-12-07T10:00:09.014709Z

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

2025-12-07T13:37:34.176609Z

you can list specific files to ignore

jyn 2025-12-07T16:40:20.817379Z

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

👍 1
jyn 2025-12-07T16:40:46.202799Z

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

jyn 2025-12-07T16:43:39.465669Z

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.

jyn 2025-12-07T16:45:07.573729Z

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

2025-12-07T20:54:10.659509Z

hmm i'm not sure then, sorry

jyn 2025-12-07T21:06:01.140629Z

no worries