Fork me on GitHub
#cider
<
2021-05-29
>
7e2716:05:53

I’m trying to connect to a shadow-cljs nrepl server, by calling

(cider-connect-cljs
 '(:host "localhost"
   :port "1111"
   :cljs-repl-type shadow))
is there a way to pass in the shadow-cljs build ID?

dpsutton16:05:12

I think if you just bind the correct variable it will work. It is not passed in

dpsutton16:05:31

Apropos for cider shadow build or something along those lines

7e2716:05:49

My documentation must be outdated, when I apropos for either shadow or build, I come up empty (i.e. nothing shadow-cljs related at all). The online cider doc only seems to mention setting a build ID via .dir-locals.el .

7e2716:05:34

Ahh found it, you are right the variable is cider-shadow-default-options . Thanks:)

dpsutton16:05:34

yeah that's a terrible name. i was expecting it to be cider-shadow-build-id or something