-
-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Description
Thanks for the awesome project! In recent versions of CIDER, I have to restart Emacs to connect to an nrepl
after the previous lein
process died.
STR
lein repl
cider-connect
- In the repl terminal window,
^D
nREPL: Connection closed unexpectedly (connection broken by remote peer)
- re-start the repl
cider-connect
- Re-use zombie REPL buffers? Yes
Expected result
I can re-evaluate the buffer
Actual result
I see a beach ball (on OSX) and Emacs becomes unresponsive. Evaluating the buffer doesn't work.
*Messages*
shows nrepl-send-sync-request: Sync nREPL request timed out (op clone id 2)
System
; CIDER 0.11.0snapshot (package: 20151220.156) (Java 1.8.0_51, Clojure 1.5.1, nREPL 0.2.10)
In this test I'm using leiningen with an ancient version of Clojure, but the same problem exists with boot
and Clojure 1.7.
Not that I'm not using cider-nrepl-middleware because it slows down startup of a largish projects by many seconds.
In tests the problem doesn't occur if I cider-quit
before exiting the external lein repl
(but you sometimes don't have that luxury).
Metadata
Metadata
Assignees
Labels
No labels