Fork me on GitHub
#clojurescript
<
2018-11-03
>
clojer03:11:48

Having problems getting Emacs cider to work with figwheel-main. I can get a figwheel-main REPL in the terminal but when I select C-c C-x j s …. figwheel-main ….. :dev I get “File dev.cljs.edn does not exist”. I don’t see anything in the Figwheel docs about including this file if one is using Leiningen. In fact the only metion of anything similar in the setup docs is dev.edn for Clojure CLI.

dpsutton03:11:17

This says to create that file

dpsutton03:11:53

It is step 2. And that file is certainly required for figwheel main

clojer19:11:13

Switched to Clojure CLI/deps.edn and managed to get a Figwheel Main REPL with cider-jack-in-clojurescript > figwheel main > :dev but can’t get it to recognise Rebel Readline which I have in my deps.edn . Also, when I edit a file the recompile in the CIDER repl doesn’t return a cljs:user prompt as it does in a standard/terminal repl. Any ideas?

narendraj914:11:09

The only way I have been able to get this to work is by using the figwheel-main template.

narendraj914:11:53

Anything else I have tried has never worked - adding figwheel-main to an existing project being what I really want to figure out.