clojureVSCode icon indicating copy to clipboard operation
clojureVSCode copied to clipboard

Reconnect to a new nRepl

Open phreed opened this issue 7 years ago • 2 comments

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.

phreed avatar Feb 22 '17 22:02 phreed

This is related to #37.

avli avatar Jul 09 '17 15:07 avli

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?

fasfsfgs avatar Jul 18 '17 02:07 fasfsfgs