that depends. When connecting to repl, cider will prompt several options. Choose the correct one, and remember also open a navigator to run the cljs code.
The main problem, that I still have not solve yet, is that when I choose the figwheel
option, emacs opens the repl in a new buffer, but the original buffer remains in the cider [not connected]
state
When I choose the browser
option, it actually works and connects correctly
If figwheel-main fails, then the project is probably not configured to run figwheel-main build tool for Clojurescript
It fails with plain figwheel
only in the sense that it does not connect the buffer to the repl. Everything else works. The browser renders the application.
is there a cider function that will (spec) instrument a namespace/project? I wrote stg based on cider-eval-* but I am wondering if I am not re-inventing the wheel