Fork me on GitHub
#cursive
<
2019-01-05
>
cfleming00:01:39

@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
wilkerlucio02:01:04

@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

wilkerlucio02:01:16

maybe it could be: Use port from .nrepl_port file

cfleming02:01:29

Yeah, good idea - historically only lein did that.

thosmos06:01:03

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.

thosmos07:01:13

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

cfleming07:01:00

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