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

Reconnect to a new nRepl #23

Open
phreed opened this issue Feb 22, 2017 · 2 comments
Open

Reconnect to a new nRepl #23

phreed opened this issue Feb 22, 2017 · 2 comments

Comments

@phreed
Copy link

phreed commented Feb 22, 2017

Sometimes it is necessary to restart the nrepl.
It would be convenient to drop the current connection and reconnect.
Presently, it seems like a VSCode "Reload Window" does the trick.
If that is the best approach then an update to the documentation would be nice.

@avli
Copy link
Owner

avli commented Jul 9, 2017

This is related to #37.

@fasfsfgs
Copy link
Contributor

With #40, you can now disconnect and connect again to a running nREPL. Not sure if it's good enough.

We can:

  • Leave it like it is and when someone wants to reconnect, they disconnect first and connect again;
  • Expose a new Clojure: Reconnect to nREPL command. It will disconnect from a running nREPL and ask for parameters again;
  • Add new logic to the existing Clojure: Connect to a running nREPL command and if the user is already connected to a nREPL, it will ask if they want to reconnect.

@phreed @avli I'm not sure what is the best option here. Is there anything else we could do?

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

No branches or pull requests

3 participants