Fork me on GitHub
#cider
<
2018-08-11
>
dottedmag12:08:10

Do I need to add piggieback manually to jack-in to a project using Figwheel Main?

pauld12:08:27

It seems to be the case for me (I'm using spacemacs develop branch).

☝️ 4
dottedmag12:08:54

So, how does it work? Should I start figwheel main separately, and let Cider connect to it?

pauld12:08:58

Also it had to be in the main deps section (not :additional deps or whatnot)

pauld12:08:52

no cider-jack-in-cljs works

pauld12:08:14

it will ask you what repl you want to start

pauld12:08:39

choose figwheel-main

pauld12:08:12

make sure you have a dev.cljs.edn file as described in the figwheel main docs.

pauld12:08:23

But you also have the option of connecting to an existing repl if you want to start figwheel main seperately.

dottedmag12:08:55

Oh, I do want to start figwheel main from CIDER.

dottedmag12:08:10

However I don't see how to pass -A to clojure

dottedmag13:08:33

Got it working.

dottedmag13:08:56

:aliases {:cider {:extra-deps {cider/piggieback ... com.bhauman/figwheel-main ...}}} to deps.edn

dottedmag13:08:09

And set cider-clojure-cli-global-options to "-A:cider"

dottedmag13:08:43

I think I also can put piggieback into existing :fig alias and run it instead.

pauld14:08:47

Ah, cool - I think you know as much as I do now

pauld14:08:27

more even - haha

bhauman14:08:11

@dottedmag did it let you choose a build?

bhauman14:08:36

I thought I'd heard that the piggieback injection was slated to be fixed, is that right?