This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-02
Channels
- # aleph (5)
- # beginners (112)
- # boot (137)
- # cider (10)
- # cljs-dev (36)
- # cljsrn (2)
- # clojure (118)
- # clojure-argentina (1)
- # clojure-berlin (1)
- # clojure-brasil (3)
- # clojure-dev (4)
- # clojure-italy (2)
- # clojure-nl (13)
- # clojure-russia (23)
- # clojure-spec (5)
- # clojure-uk (53)
- # clojurescript (344)
- # clojutre (1)
- # core-async (65)
- # cursive (9)
- # datascript (7)
- # datomic (28)
- # devops (1)
- # emacs (16)
- # events (1)
- # jobs (5)
- # keechma (18)
- # lumo (56)
- # off-topic (7)
- # om (3)
- # onyx (14)
- # protorepl (21)
- # re-frame (3)
- # reagent (20)
- # ring (12)
- # ring-swagger (9)
- # specter (17)
- # unrepl (14)
- # vim (14)
- # yada (22)
Trying to get figwheel going via nrepl. The terminal says it's running an nrepl on 7002 and then drops me into a cljs repl when the browser hits 3449. When protorepl's nrepl client connects to 7002 though, it seems I have jvm clojure repl going. And only my macro (.clj) file is reloading.
And it connects, and I have a repl. It's just a Clojure one. Not the ClojureScript one. But the ClojureScript one is running in the terminal, which is also hosting the nrepl server... Strange.
Weird. Huh. If you're not getting any errors, I'm not sure what the issue is. (Hopefully, we'll be able to properly launch/quit Figwheel from Proto REPL really soon rather than using a remote connection.)
That's the doc link. I don't think there's any way to automatically have that executed. If you find a way please let me know.
Yeah, looks like those functions are defined in dev/user.clj
and just adding (cljs-repl)
to the end should work.
The whole cljs repl thing is seems a bit complicated at the moment.. would be cool to have a single solution that know which type of code block it was exectuting.. clj goes to jvm, cljs goes to js and cljc goes to both.
ah, I forgot about that. And yeah, you can save that command to your init.js
/`init.coffee` file:
https://github.com/jasongilman/proto-repl/blob/master/extending_proto_repl.md