boot-refresh
boot-refresh copied to clipboard
Client REPL Does Not Get Code Refresh
I am trying to figure out how to get a clojure REPL that gets clojure code reloaded each time a source file changes.
I am executing this command on the command line:
boot watch refresh repl -n ignition-project.core -p 6000 -s
That creates a repl server that gets its code reloaded each time. This works! Yay.
I can make a client repl connection to the repl server. But when the source code changes the client repl does not get the code update. I have to close the client repl connection and make a new client repl connection to see the code changes. Is there anyway to make this work so that my client repl gets the code changes without having to close the client repl and start a new one?
Any help with this is much appreciated.
Thanks for opening an issue about this. This is a known issue and I have spent a fair bit of time trying to figure out why this happens or how to resolve it, but I haven't made any significant progress. Right now this is reflected in the README by the sentence
The
refreshtask works best with CIDER:
by which I mean that it really doesn't seem to work if you just use it with a raw terminal. If you find any explanations or workarounds for this, please let me know.
Hi samestep, I see and understand. Thanks for telling me.