Marcus Holst <
holst....@gmail.com> writes:
> I'm trying to use the new multiple repl connections feature and have easily
> loaded an http server in one nrepl and then another in another nrepl
> instance. First I do 'nrepl-restart' and load the main ns of the first
> server, and then I open the other project's main ns, do 'nrepl-jack-in' and
> then load its main ns. Both servers start up and they are both accessible,
> so that's super (something that didn't work with the previous release). But
> when I switch back and reload the main ns of the other project again I get
> problems with missing ns dependencies. It seems like it tries to
> re-evaluate the ns in the wrong nrepl.
> Anyone else seen this behavior?
There is a concept of the "current" repl session, used for all
operations in a clojure buffer. To change to the default repl, select
the one you want to be used and use
M-x nrepl-make-repl-connection-default.
The is a connection browser, that can be invoked with M-x
nrepl-connection-browser. Unfortunately there was an issue with the key
bindings for that buffer in 0.1.7; otherwise the 'd' key can be used to
make a connection default.
Hugo