This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-10
Channels
- # beginners (6)
- # calva (1)
- # cider (17)
- # clj-kondo (10)
- # clojure (4)
- # clojure-austin (3)
- # clojure-spec (3)
- # clojurescript (40)
- # clojurex (17)
- # core-async (10)
- # cursive (1)
- # data-science (2)
- # datomic (15)
- # emacs (10)
- # fulcro (15)
- # funcool (1)
- # graalvm (15)
- # joker (3)
- # nrepl (34)
- # off-topic (10)
- # pedestal (3)
- # rewrite-clj (6)
- # spacemacs (5)
- # sql (11)
And I am starting to think I should try use the EDN transport instead. A lot of the problems I have fought lately has been related to that I do not allow the data to stay in EDN as far as possible.
Is it still only clojure cli where I can start the edn transport server via a command line switch?
Calva supports tools.deps, lein and shadow-cljs. Ideally I’d like to add whatever is needed to the command lines starting the processes. But I’ll check out .nrep.edn
too.
Bottom of this page: https://nrepl.org/nrepl/0.6.0/usage/server.html
There was a discussion of configuring nrepl via JVM opts: https://github.com/nrepl/nrepl/issues/54
guess .nrepl.edn
is something different, but saves you the effort of threading config through whichever tool you are supporting?
https://shadow-cljs.github.io/docs/UsersGuide.html#nREPL <- how to configure shadow
Thanks. I was looking at the shadow-docs yesterday and it wasn't obvious to me what I should put there to get the EDN selected.
I'm looking now, think shadow might need to do some work to support it: https://github.com/thheller/shadow-cljs/blob/92bb8076f6d1774bdbcf32dc8b0e14ce949c769a/src/main/shadow/cljs/devtools/server/nrepl.clj#L123
@U05224H0W, is this something you would consider adding as a configuration option? I could probably go via .nrepl.edn
, and maybe even should go that way, but so far I haven't let Calva edit config files on the user's behalf. It's pretty nice to be able to specify these things on the command line.
Sorry. Add a way to config the nrepl server to use another transport. (EDN transport is what I currently am considering to try with for Calva.)
as soon as the alpha tag disappears I guess? https://github.com/thheller/shadow-cljs/issues/514