Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client REPL Does Not Get Code Refresh #5

Open
mudgen opened this issue Oct 16, 2017 · 2 comments
Open

Client REPL Does Not Get Code Refresh #5

mudgen opened this issue Oct 16, 2017 · 2 comments

Comments

@mudgen
Copy link

mudgen commented Oct 16, 2017

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.

@samestep
Copy link
Owner

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.

@mudgen
Copy link
Author

mudgen commented Oct 16, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants