This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-15
Channels
- # 100-days-of-code (3)
- # announcements (14)
- # beginners (100)
- # calva (20)
- # cider (50)
- # cljdoc (29)
- # cljs-dev (6)
- # clojure (78)
- # clojure-europe (1)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (11)
- # clojure-uk (108)
- # clojurescript (23)
- # code-reviews (5)
- # cursive (7)
- # datomic (11)
- # devops (1)
- # editors (1)
- # figwheel-main (65)
- # fulcro (114)
- # hoplon (31)
- # hyperfiddle (1)
- # juxt (4)
- # lein-figwheel (2)
- # nrepl (13)
- # off-topic (72)
- # re-frame (35)
- # reagent (9)
- # shadow-cljs (42)
- # spacemacs (2)
- # specter (5)
- # tools-deps (60)
- # yada (2)
Hello regurgitating a question I had asked in the #clojure channel: How do you disconnect from nrepl so you can reload + connect to it again?
If I close the terminal window the yellow nrepl connection icon on the bottom left of the screen still shows as active.
@jayzawrotny, connecting again (`ctrl+alt+v c`), disconnects before reconnecting and restarts the terminal repls as well. I'll check if there is a more intuitive way to do it.
Checked it out some now, @jayzawrotny. It seems the Disconnect command has been lost somewhere. And that the Connect and Reconnect commands essentially do the same thing. Did reconnect do the trick for you?
It is a bit confusing with the Terminal REPLs, but it is pretty much a one way connection, where Calva can send stuff to them, but they can't really talk to Calva.
Yes and no, I think it reloads things correctly but after doing it a few times the terminal starts to hang and I can’t connect until I shutdown VS Code
Even in an external terminal app
Like if opened http://Terminal.app I wouldn’t get a prompt until I close VS Code
Wow. Please tell me the whole procedure and I might be able to reproduce it to see what is going on.
Also, information about your OS, versions of VS Code and Calva, would help. I recognize issues with Terminals hanging, but then it seemed to be a VS Code issue that got sorted out.
Thanks, updated it with Environment details
Saw them. Same as I have. Unfortunatelly I can't get it to happen. What is the setting of Terminal: Explorer Kind on your machine?
Integrated
I notice my profiles.clj uses cider 0.17.0
Maybe it's something with the project… Do you have some other project you can try with?
@jayzawrotny: It seems more people have started to get this problem again: https://github.com/BetterThanTomorrow/calva/issues/64
I can switch to another but this project was just created today and is maybe 3 lines more than a lein app template.