Fork me on GitHub
#fulcro
<
2018-07-18
>
runswithd6s15:07:41

Anyone have luck trying to cider-jack-in-clj&cljs or cider-jack-in-clj on a *.cljs file with emacs25 and fulcro? I added in the cider piggieback in the dev dependencies and nrepl-options, but I'm running in to a strange error. Gist: https://gist.github.com/runswithd6s/1781d9f87286eb473050dfc22e53cfbf

currentoor17:07:33

i’m able to use nrepl for cljs fine with spacemacs and fulcro

currentoor17:07:09

have you tried running nrepl in the terminal and connecting to it from emacs, with cider-connect?

currentoor17:07:37

you’ll need to add the cider deps in plugins or something, it’s in the cider docs

runswithd6s06:07:17

were you using figwheel, or shadow as the cljs repl?

currentoor17:07:19

depending on the project

runswithd6s03:07:15

So, I created a test application from lein new figwheel figwheel-test and was able to get a CIDER jack-in successfully for cljs. So, at least I know it works.

runswithd6s18:07:22

I figured it out. The fulcro crew extended the (figwheel) function. The developer guide highlights how to use it. I was trying to jack in directly to client.cljs, but instead had to use their methodology of 1) open src/dev/user.clj, 2) M-x cider-jack-in, 3) In REPL: (start-figwheel). A bit less convenient.

runswithd6s18:07:29

and certainly more confusing

runswithd6s18:07:02

but at least I can move forward now. 🙂 Thanks for your assistance