-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document using CIDER with Fighweel #1427
Comments
Guess we can simply link to this from our README. |
@expez The documentation was moved. Any idea where to? |
FWIW I still couldn't get it working with those docs, but that could be just me. If someone had an alternate/simplified version of this it might help others get going in the future. |
Most likely this isn't just you. There are a lot of moving parts involved in getting a clj environment going for emacs these days...
Pull-request welcome after you've asked someone in the know on |
I've gotten figwheel working with the following setup, currently: profiles.clj: {:repl
{:dependencies [[org.clojure/tools.nrepl "0.2.12"]
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.0-2"]] ;; <-- important
:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}} project.clj (must be under root, not under a separate profile. The reason for this is that since figwheel is not running from the lein context, it will only read project.clj, not merge anything): :figwheel { ... custom settings ... }
:cljsbuild { ... :figwheel {:on-jsload "name.space/func"} ... rest of build } Customize the '(cider-cljs-lein-repl
"(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))") edit: Appears that variable was changed yesterday. If interested, I could create a minimal working example for the documentation. Perhaps figwheel could be added to the default cljs repls, alongside rhino, weasel. |
As a side note, this only works with |
@magnars recently documented this. |
Figwheel is super popular awesomesauce but its usage with CIDER is somewhat unintuitive
How to make this work is documented over at fighweel here but the information is somewhat hard to find.
At least one of our users ran into this: clojure-emacs/cider-nrepl#272
The text was updated successfully, but these errors were encountered: