Fork me on GitHub

The clojure repl has started up at that time. But the cljs repl indeed hasn't initialized, e.g. it's just another clj repl. Running lein figwheel outside of emacs works fine.


The same problem occurs if I create a project with lein new re-frame foo +cider +garden and execute cider-jack-in-clojurescript in there.


Okay, got it. The answer was on the re-frame github readme. In the emacs init script I had

(setq cider-cljs-lein-repl
      "(do (user/go)
That needs to be changed to the following
(setq cider-cljs-lein-repl
      "(do (require 'figwheel-sidecar.repl-api)
This however only works if the +cider option is used on the template.


It would be cool to have a smarter version that detects what to do. But for now I'm set!


Note to self: watch episodes 14 + 15 again


@plexus FYI, on the github repo for ep. 20 and 25 there are two branches for the start state: ep-25-start and ep25-start. Maybe you want to git push origin -d the "wrong" one. They are quite different. Based on the diff it's not clear to me which one is younger. I'll start with ep25-start since that is what you wrote in the shownotes.