This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-04
Channels
- # beginners (149)
- # cider (1)
- # clara (12)
- # cljs-dev (226)
- # cljsrn (2)
- # clojure (275)
- # clojure-russia (5)
- # clojure-uk (14)
- # clojurescript (57)
- # cursive (23)
- # data-science (15)
- # datomic (1)
- # fulcro (8)
- # hoplon (9)
- # onyx (5)
- # portkey (15)
- # protorepl (1)
- # re-frame (8)
- # reagent (17)
- # shadow-cljs (22)
- # uncomplicate (13)
- # vim (36)
has anyone got fireplace working with shadow-cljs?
i have it working fine with figwheel, but when i try and connect to a runnign shadow-cljs repl i get compileexceptions
supposedly you can run this: (shadow.cljs.devtools.api/nrepl-select :id-of-build)
@christopher.paul don't do that, do :Piggieback :id-of-build
that’s all i hae to do? @dominicm?
normally my fireplace connects automatically
but with the shadow one
it doesn’t seem to…
i’ve manually created a file onw
for .nrepl-port
maybe it will just work…
You can also use :Connect
@christopher.paul
i know, but i’m lazy 🙂
i’ve added the .nrepl_port maybe it is connecting and i didn’t realise
it works
@christopher.paul I worked with thheller to get it working a little while ago 🙂
shadow-cljs writes a file with the port inside target/
, someone should make a pr on fireplace to use that
yea i saw you guys talking on one of the github issues
you have just made me a very happy koala
i used the shadow lein template, these .edn files seem much nicer than a project.clj
@mynomoto eh, that seems inappropriate for A) how fireplace works B) for shadow to violate how other nrepl things work. I'm sure there's a good reason of course, but it seems a strange thing to add to fireplace. Not sure.
well i think fireplace is already looking for one file, i think mynomoto is suggesting to try looking in a second place…
or maybe shadow could just write to the same place as lein and boot 😄
fireplace looks recursively upwards for .nrepl-port files, and scopes the connection appropriately.
maybe i’ll create a command in my vim rc so i don’t have to manually create .nrepl_port files
@christopher.paul thomas said that he wants to avoid conflicts with files written by other tooling as there is reason to run both lein or boot and shadow in the same project.
thanks for your help, @dominicm