Fork me on GitHub
#spacemacs
<
2016-05-20
>
hkjels07:05:40

@mathpunk: I’m running figwheel and Cider without having noticed any real issues

hkjels07:05:47

Since I have figwheel, I don’t really use the REPL that much though, but it works

hkjels07:05:24

Just be sure to Jack-in-clojurescript instead of clojure

mathpunk16:05:08

@hkjels: Hm. Can you tell me how you set up your lein profile? The last time I tried it seemed like there was stale information on how to set the system up

mahinshaw17:05:23

I use figwheel daily with cider. No problems. Just checkout the above link. Let me know if you have any ?’s

mathpunk17:05:16

@mahinshaw Thanks! That looks updated since the last time I gave it a shot

mahinshaw17:05:21

yeah it’s pretty helpful. I also make a dir-local.el with this ((nil . ((cider-cljs-lein-repl . "(start-figwheel)")))), where (start figwheel) is in my user.clj, which starts figwheel for me when is call cider-jack-in-clojurescript.

mathpunk17:05:55

will i need to load that from my .spacemacs somewhere? i don’t actually know how to load .el files. Having not come from emacs, there’s some idioms I feel I’m missing

mahinshaw17:05:49

no. you put a dir-local.el file in the project you are working on (or in a directory above, if you have a bunch of projects with the same config style). and emacs will find the file for you when you enter the directory. So there really isn’t anything you have to do after that.

eggsyntax17:05:45

Note that cljs repl behavior in CIDER changed between versions 12/13, so @mathpunk you may get some confusing instructions here from people on other versions.

mahinshaw17:05:49

That link will also point you to the gnu docs on per-directory local vars.

eggsyntax17:05:37

(can't tell y'all a lot of details on changes, I'm afraid, this is via discussion of it w/ a friend who switched to 13 recently. I'm still on 12 myself)

mahinshaw17:05:58

And I’m pretty sure this worked on 12 as well.

hkjels18:05:19

@mathpunk: sorry, I was actually lying to you. I have figwheel-sidecar set up in my project. Did you get it up and running?

mathpunk18:05:27

No, I probably won’t have a chance to try until this evening or after the weekend

mathpunk21:05:54

@hkjels Turns out I do have time. I’m setting up the clojure layer, and I’m getting this: