This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-20
Channels
- # beginners (49)
- # boot (139)
- # cider (10)
- # clojure (82)
- # clojure-belgium (59)
- # clojure-dusseldorf (5)
- # clojure-russia (11)
- # clojure-sanfrancisco (2)
- # clojure-uk (56)
- # clojurebridge (4)
- # clojurescript (138)
- # cursive (19)
- # datomic (8)
- # dirac (1)
- # editors (11)
- # emacs (18)
- # flambo (21)
- # hoplon (45)
- # jobs (1)
- # juxt (3)
- # keechma (1)
- # mount (43)
- # off-topic (2)
- # om (64)
- # om-next (1)
- # onyx (2)
- # other-languages (8)
- # re-frame (72)
- # reagent (99)
- # ring-swagger (7)
- # rum (3)
- # spacemacs (21)
- # specter (5)
- # untangled (42)
- # vim (4)
- # yada (7)
@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
@mathpunk: https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-within-NRepl#integration-with-emacscider
I use figwheel daily with cider. No problems. Just checkout the above link. Let me know if you have any ?’s
@mahinshaw Thanks! That looks updated since the last time I gave it a shot
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
.
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
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.
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.
(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)