I am running a remote nrepl server (mvn clojure:nrepl
) and connecting via emacs M-x cider-connect
. When the JVM exists for any reason or I call (System/exit 0)
in my repl the *nrepl*
buffer is immediately closed.
How do I prevent that behavior?
How do I make it so that subsequent connections reuse that buffer?
Thanks!
edit: previous: "connecting via emacs M-x nrepl
"
update: switched to:
; CIDER 0.8.0alpha (package: 20141116.1221) (Java 1.7.0_21, Clojure 1.6.0, nREPL 0.2.5)
if I run mvn dependency:tree
what I see includes the following:
[INFO] +- org.clojure:tools.nrepl:jar:0.2.5:compile
[INFO] +- cider:cider-nrepl:jar:0.8.0-SNAPSHOT:compile
however in Emacs I see the following after a M-x cider-connect
:
; CIDER 0.8.0alpha (package: 20141116.1221) (Java 1.7.0_21, Clojure 1.6.0, nREPL 0.2.5)
WARNING: The following required nREPL ops are not supported:
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.8.0-SNAPSHOT and restart CIDER
and after closing the REPL and then trying to restart it I see An nREPL connection buffer already exists ... create a new one? (y or n)
either answer appears to be the wrong one.
The old buffer isn't deleted at least, but it appears unusable.