Share your thoughts in the 2021 Clojure Community Survey!

Welcome! Please see the About page for a little more info on how this works.

0 votes
in REPL by

It seems that the default location of the .nrepl-port file is where the lein command is run. I need to override this since I don't have permission to write files in the directory I have to run. Specifically I'm running:

lein update-in :dependencies conj \[nrepl\ \"0.8.2\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.25.3\"\] -- repl :headless :host localhost

I browsed the source code of leiningen for .nrepl-port and saw :root is set somewhere. I tried passing that in but it didn't seem to affect anything.

1 Answer

0 votes

Not a nrepl expert, but with a search about "nrepl-port" in i find this: