This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-11
Channels
- # announcements (8)
- # beginners (17)
- # boot (1)
- # cider (20)
- # cljdoc (7)
- # cljs-dev (14)
- # clojure (62)
- # clojure-dev (16)
- # clojure-hamburg (1)
- # clojure-russia (2)
- # clojure-spec (22)
- # clojure-uk (15)
- # clojurebridge (1)
- # clojurescript (23)
- # core-async (4)
- # core-logic (17)
- # cursive (2)
- # datomic (4)
- # duct (1)
- # figwheel-main (40)
- # fulcro (15)
- # leiningen (1)
- # off-topic (27)
- # re-frame (3)
- # shadow-cljs (9)
- # specter (3)
- # sql (59)
@dottedmag funny we did this at the same time
@bhauman It's a new file next to existing one, say src/foo/utils.cljs
next to src/foo/app.cljs
@dottedmag yes you need to require it from a file that has already been required
So I have added foo.utils
to :require
, and now Figwheel complains "No such namespace"
I should have noticed that CIDER has not supplied the correct name in automatically created (ns)
form, but I have seen this feature broken more often than not, so I supposed it was a CIDER breakage, not my mistake.
@bhauman clj + Figwheel Main + CIDER is the first cljs setup I have that is not overwhelming, and where it is possible for me to understand what's going on and even correct errors without thrashing the whole project and starting anew.
@dottedmag have you always used emacs?
Yes. Though pre-clj it was always a struggle to understand various exceptions throwing from different processes.
I'm glad CIDER is starting to settle, but I'd really like to make sure that its injecting piggieback before I write it up.
CIDER did it automatically for a while, and it makes a difference in the setup for a newcomer. And its what the docs report as well
just released figwheel-main 0.1.6
with a new Scripting API that will let you start background builds and will let you switch REPLs back and forth between different builds
This is nice, I use the nrepl-select
feature of shadow all the time in new buffers. Does it launch/stop node as well for node targets when you switch builds? Or keeps it open? Will definitely try it out
Ah maybe, I am talking nonsense, the process should be kept around as the repl so that state is preserved (I actually disable automatic reload here 😄)