I get this Failed to refresh error whenever first time I start JVM, connect with REPL and refresh. Subsequent refreshes work fine.
in deps.edn
I have
{org.clojure/tools.namespace {:mvn/version "0.3.1"}}
@ahmed1hsn I'll check this, but I probably know what's happening. What's your Clojure version?
No, I don't know what's happening :rolling_on_the_floor_laughing:. It's strange because the first few lines of the refresh command do require the clojure.test
namespace: https://github.com/mauricioszabo/atom-chlorine/blob/rendering-ratios/src/chlorine/features/refresh.cljs#L8-L12
It worked okay with Leiningen.
I'm using 0.1.10
chlorine.
And what's the Clojure version?
(I'm about to publish a new version, so that's why I'm asking, so I can issue a correction to this bug too :))
Clojure 1.10.1
Thanks, I'm enjoying Chlorine 🙂
Ah, let me ask for some debugging: you said that the first time you're running the refresh, you get this error. So, if you stop the REPL, start again, connect Chlorine to it, and try to refresh, you'll get the error, right? Now, if you stop the repl, close atom, start the repl, start atom, and try to connect and refresh, do you get the same error?
Error occurs when I first time start jvm, start atom, start repl and try to save file. on other rounds you mentioned error does not occur.
When I again restart jvm (while atom remains open) connect repl and save file(ctrl+s), error is prompted again.
Caveat is with fresh start of jvm, as I mentioned earlier, subsequent refreshes work fine.
(only problem is first refresh on new start of jvm)