Open mmower opened 10 years ago
Will have to look into it. Seems like either might need to do something different with tools.namespace or try to figure out if tools.namespace can be patched.
This is hacky and not actually a solution but you may be able to stop a specific namespace from being reloaded.
https://github.com/clojure/tools.namespace#managing-reloads
I haven't tried this but it seems like you may be able to do what it suggests to force certain namespaces to not be reloaded.
Hi Jake. I'm not sure how I'd apply this workaround as the namespace I'd need to stop reloading contains the namespace I'm testing which is, I assume, what is getting reloaded for each test run?
Hi Jake.
So a problem has popped up that appears to be related to the use of tools.namespace for reloading (I'm reporting some detective work by llasram in #clojure here):
The net result is that if you try and use a reader literal in your test code you get an exception, see: https://www.refheap.com/85727 which you don't get in normal use or from the REPL.
Any thoughts?
m/