kaocha

2023-03-28T16:04:36.104349Z

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)

imre 2023-03-28T16:34:42.907359Z

have you tried setting refresh dirs for tns?

2023-03-28T16:35:43.081409Z

no I haven’t - is that something I would configure through kaocha or at the deps.edn?

imre 2023-03-28T16:37:37.460189Z

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

2023-03-28T16:04:53.516869Z

I added those paths to :ignore but I think that ignores watching them, not reloading them