This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-16
Channels
- # adventofcode (76)
- # aleph (1)
- # aws (2)
- # beginners (101)
- # boot (1)
- # boot-dev (1)
- # calva (25)
- # cider (12)
- # cljs-dev (29)
- # clojure (214)
- # clojure-europe (1)
- # clojure-nl (5)
- # clojure-spec (1)
- # clojure-uk (6)
- # clojurescript (155)
- # data-science (1)
- # datomic (48)
- # figwheel-main (5)
- # immutant (1)
- # leiningen (11)
- # nrepl (2)
- # off-topic (24)
- # pathom (2)
- # pedestal (2)
- # portkey (8)
- # protorepl (5)
- # re-frame (2)
- # rum (4)
- # shadow-cljs (21)
anyone here uses stumpwm? how do you deal with the cider shortcuts for testing?
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?
For example, one could use -m nrepl.cmdline --chain clojure.main [clojure.main options go here]
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
Instead of clojure.main you could also specify rebel-readline.main
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
@pesterhazy this is something I considered as part of the issue I linked you.
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.
@dominicm is there a JIRA for tools.deps for that?
You mean that "start" parameter he's mentioned?
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