Fork me on GitHub

@thosmos Well, it’s the best in that it’s the only option, but I have plans to fix that as part of the next large feature change.

👍 5

@cfleming @sgerguri, thanks that works! but I like suggest you change that title, having Leiningen there is misleading, in my project its just deps and shadow, I didn't tried because I though that was a lein specific thing


maybe it could be: Use port from .nrepl_port file


Yeah, good idea - historically only lein did that.


not sure what I did, but now my cursive lein repl is failing to run, and the lein project won't refresh, with this in the event log:

22:14	Error reading /Users/thomas/Develop/RiverDB/riverdb-graphql/project.clj
			Cannot run program "clojure" (in directory "/Users/thomas/Develop/RiverDB/riverdb-graphql"): error=2, No such file or directory
			error=2, No such file or directory
I'm wondering if it's because I'm using deps.edn and lein-tools-deps This has been working fine for a while, so I'm not sure what changed. However lein repl runs fine from the terminal, as does the clojure CLI repl.


I downgraded to [lein-tools-deps "0.4.1"] and it appears to be working again


@thosmos That might be something that has changed in lein-tools-deps which interacts badly with the fact that Cursive doesn’t use the project dir as the CWD when invoking lein. I have a bunch of tricks which help, but if someone does something like (File. a b) instead of (jio/file a b) then I can’t hook that.