-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Currently, we try to updateConnectionParams() by reading the .nrepl-port file during extension activation (when a clojure file is first opened), then we try to auto-connect.
This fails when you open the clojure file first, then the repl after extension activation.
Perhaps we can setup a file watcher, and automatically connect to the repl if a .nrepl-port file becomes available?
This isn't a fully fleshed-out idea: we'll need to think a bit about how to handle a change the .nrepl-port file when we're already connected to a nrepl. Do we connect to the new one? Or keep the existing one - which may be closed, and maybe we haven't noticed it's gone? I'd propose taking the less-destructive route of staying with the existing REPL.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels