bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 210 forks source link

Switch build does not change repl #674

Closed liaowang11 closed 6 years ago

liaowang11 commented 6 years ago

I'm trying to setup cider to work with clojurescript, and take the Reagent-Template from a start.

After cider-jack-in-clojurescript, first browse to http://localhost:3449 to get a repl, then do a (switch-to-build devcards), after that browse to http://localhost:3449/cards, the repl is no longer connected.

The same goes with lein figwheel on commandline.

The only way I found to connect to devcards is to use lein figwheel devcards, but that means I can no longer use cider.

Is switch-to-build supposed to work like this? Or I did some wrong?

liaowang11 commented 6 years ago

Just found that I can quit the default repl(with Ctrl-D or :repl/quit) to connect to another repl.