Fork me on GitHub
#calva
<
2018-10-15
>
Eccentric J05:10:41

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?

Eccentric J05:10:10

If I close the terminal window the yellow nrepl connection icon on the bottom left of the screen still shows as active.

pez05:10:41

@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.

đź‘Ť 4
pez07:10:58

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?

pez07:10:21

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.

Eccentric J07:10:47

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

Eccentric J07:10:55

Even in an external terminal app

pez07:10:51

Sounds like a leakage. What do you mean with an external terminal?

Eccentric J07:10:02

Like if opened http://Terminal.app I wouldn’t get a prompt until I close VS Code

pez07:10:06

Wow. Please tell me the whole procedure and I might be able to reproduce it to see what is going on.

pez07:10:43

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.

pez07:10:27

Thanks! That is great feedback.

Eccentric J07:10:05

Thanks, updated it with Environment details

pez07:10:25

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?

Eccentric J08:10:43

I notice my profiles.clj uses cider 0.17.0

pez09:10:36

Maybe it's something with the project… Do you have some other project you can try with?

pez11:10:35

@jayzawrotny: It seems more people have started to get this problem again: https://github.com/BetterThanTomorrow/calva/issues/64

đź‘Ť 8
Eccentric J14:10:17

I can switch to another but this project was just created today and is maybe 3 lines more than a lein app template.

pez14:10:23

It's probably not about the project then. But I wonder why I can't reproduce it.