Fork me on GitHub
#cider
<
2018-12-16
>
ackerleytng08:12:06

anyone here uses stumpwm? how do you deal with the cider shortcuts for testing?

pesterhazy16:12:35

Re: nrepl.cmdline > You can to pass -i (--interactive) if you want to get a REPL as well. @bozhidar have you considered a command line option that allows you to daisy-chain a next -main command?

pesterhazy16:12:26

For example, one could use -m nrepl.cmdline --chain clojure.main [clojure.main options go here]

pesterhazy16:12:14

With the --chain flag, nrepl.cmdline would spawn the nREPL server in the background. Once that's done, it would defer the daisy-chained -main

pesterhazy16:12:59

Instead of clojure.main you could also specify rebel-readline.main

pesterhazy16:12:54

Both would give you a terminal-based repl, and these would be more direct (no network connection required) and also faster than the one --interactive gives you

dominicm22:12:20

@pesterhazy this is something I considered as part of the issue I linked you.

dominicm22:12:01

This would solve it for the common case of nrepl, it would be nice to have a generic interface though. I think that the new clojure.main flag for calling functions would solve the problem betterish.

pesterhazy22:12:22

@dominicm is there a JIRA for tools.deps for that?

dominicm22:12:56

Alex has mentioned in slack, haven't looked for a jira

pesterhazy22:12:20

You mean that "start" parameter he's mentioned?

pesterhazy22:12:55

I think that given that Alex has a lot on his plate it would be a good idea to look into alternatives that can do without changes to the cli tool