This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-31
Channels
- # aleph (3)
- # aws (5)
- # beginners (65)
- # boot (17)
- # cljs-dev (112)
- # cljsrn (5)
- # clojure (146)
- # clojure-austin (3)
- # clojure-dusseldorf (3)
- # clojure-italy (18)
- # clojure-norway (13)
- # clojure-russia (84)
- # clojure-serbia (5)
- # clojure-spec (24)
- # clojure-uk (84)
- # clojurescript (204)
- # css (1)
- # cursive (21)
- # data-science (3)
- # datascript (21)
- # datomic (26)
- # emacs (5)
- # euroclojure (1)
- # hoplon (8)
- # jobs (7)
- # jobs-discuss (2)
- # keechma (35)
- # lumo (92)
- # mount (1)
- # nrepl (2)
- # numerical-computing (16)
- # off-topic (10)
- # om (58)
- # re-frame (13)
- # reagent (90)
- # remote-jobs (2)
- # ring-swagger (1)
- # spacemacs (9)
- # specter (6)
- # unrepl (17)
- # untangled (56)
- # yada (2)
Hi, I've been trying to get figwheel to work properly in a Cursive REPL. It halfway works, my web browser can connect just fine, and the app runs. However I always see this in the REPL: Choose focus build for CLJS REPL () or quit > . I'm not sure what the problem is. I can't do any of the Cursive magic like switching namespaces or loading files etc.
@misha That’s really weird, I’ve never seen that. I’m very surprised ESC doesn’t work, too.
So I’m not sure what’s happening there - hopefully someone with more Figwheel experience can chime in.
I believe it’s asking you to choose a build from your cljsbuild configs, so perhaps dev
or prod
, or whatever you have configured in your project.clj
.
It usually picks one by default, but I believe it only picks builds with optimizations: none.
I have a file called repl.cljs that looks like this:(use 'figwheel-sidecar.repl-api) ;(start-figwheel! {:build-ids ["app"]}) ;; <-- fetches configuration (start-figwheel!) ;; <-- fetches configuration (cljs-repl)