Fork me on GitHub
#cider
<
2020-05-23
>
Parenoid04:05:55

can someone tell me what command is being run to start cider in this video at this point? https://youtu.be/9sVGy0IovH8?t=1471

dpsutton05:05:15

looks like a standard cider-jack-in

dpsutton05:05:32

you're welcome 🙂

David Pham07:05:30

Is there a guide on how making a nrepl connection in a production nodejs/java server?

solf07:05:15

Maybe this would be helpful, it's a rather concise implementation of a nrepl server made for babashka: https://github.com/babashka/babashka.nrepl @neo2551

borkdude18:05:14

I just upgraded from CIDER 22 to 25. When I cider connect to a an nREPL server (in my case a babashka nREPL server) from within a script file, it used to "just work" but now I first have to sesman-link-with-buffer. Does that sound familiar?

dpsutton19:05:28

yeah. that was the fix for the way that things were linked in the past. they just kinda used the last repl regardless of projects. so the fix was to have things linked but this is at the detriment to non-project files

dpsutton19:05:47

i think if you make your own elisp function to do (cider-jack-in (list :project-dir (file-name-directory (buffer-file-name))) it should work?

dpsutton19:05:47

i'm guessing its not finding the root directory of the project so it doesn't know how to set up the scoping

dpsutton19:05:47

@borkdude i actually can't repro.

dpsutton19:05:33

it works out just fine for me. i can load files, send forms to the repl, etc

borkdude19:05:16

hmm, I must have done something wrong here locally then. now it also works here

borkdude19:05:28

thanks for double checking