Is there a way to avoid namespaces that are reloaded by watch? I think tools.namespace is reloading namespaces that aren’t typically loaded and causing errors (I have a bunch of scratch files that aren’t loaded normally by integrant or boot, but are reloaded by tools.namespace)
have you tried setting refresh dirs for tns?
no I haven’t - is that something I would configure through kaocha or at the deps.edn?
I haven't encountered this problem with kaocha so far but I use https://cljdoc.org/d/org.clojure/tools.namespace/0.3.1/api/clojure.tools.namespace.repl#set-refresh-dirs in a few projects. I call it in user.clj
I added those paths to :ignore but I think that ignores watching them, not reloading them