boot-refresh icon indicating copy to clipboard operation
boot-refresh copied to clipboard

Client REPL Does Not Get Code Refresh

Open mudgen opened this issue 8 years ago • 2 comments

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.

mudgen avatar Oct 16 '17 20:10 mudgen

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 refresh task 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.

samestep avatar Oct 16 '17 22:10 samestep

Hi samestep, I see and understand. Thanks for telling me.

mudgen avatar Oct 16 '17 22:10 mudgen