This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-17
Channels
- # beginners (51)
- # boot (31)
- # cider (14)
- # clara (13)
- # cljs-dev (15)
- # cljsjs (2)
- # cljsrn (53)
- # clojure (18)
- # clojure-dusseldorf (1)
- # clojure-russia (4)
- # clojure-uk (9)
- # clojurescript (53)
- # cursive (3)
- # datomic (5)
- # docs (1)
- # figwheel (2)
- # fulcro (42)
- # hoplon (3)
- # lein-figwheel (3)
- # leiningen (53)
- # off-topic (1)
- # om (4)
- # re-frame (11)
- # shadow-cljs (8)
What's the correct way to serve figwheel through another Ring app? I don't think I'm doing it right.
I'm currently running my backend with lein run
and then figwheel with lein figwheel dev
.
lein run
will spit out the figwheel-served JS
This seems to get everything connected to the Figwheel websocket.
But, on first-load it appears to be running the version of the clojurescript as compiled by lein run
and not figwheel. It's not until I change and save my cljs files I get the feature I'm working on.
@U0529P22K do you absolutely have to run figwheel via ring, or would you be OK running ring via figwheel? There’s a small example here: https://github.com/bhauman/lein-figwheel/tree/master/examples/using-ring-handler