This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-25
Channels
- # bangalore-clj (2)
- # beginners (50)
- # boot (21)
- # cljs-dev (2)
- # cljsrn (1)
- # clojure (93)
- # clojure-russia (5)
- # clojure-spec (22)
- # clojure-uk (3)
- # clojurescript (24)
- # data-science (4)
- # datomic (1)
- # events (2)
- # fulcro (46)
- # graphql (9)
- # hoplon (16)
- # lumo (42)
- # off-topic (3)
- # perun (2)
- # protorepl (1)
- # re-frame (10)
- # reagent (12)
- # ring (1)
- # ring-swagger (1)
- # shadow-cljs (12)
- # specter (16)
- # unrepl (10)
@thheller indeed. i think it had something to do with bad target/ cache + order of REPL and so forth. once i cleaned it out, started again and I had state I could explore and figured out the nested call.
is there any config needed to enable css reloading? I got code reload to work, but css requires page refresh.
if not you need to specify :devtools {:watch-dir ...}
which should be the path to your http root folder
@sundbp if you run into that again please report what you were doing. I hate caching issues and want to fix all of them (in case it is one).
Gotcha. Will try that. Thanks
@thheller sure, will do. I’ve just recently looked at cljs+node for some CLI tools requiring fast startup time, only done jvm clojure otherwise. So I’m new to shadow-cljs, and node, and npm/yarn so I may well have done steps in an unnatural order resulting in the weird situation. I can’t recall it but if I have to guess it may have been related to adding the dependency via yarn add and not restarting everything. Nothing complained and the shims etc looked sensible, but in the REPL session they weren’t available. So gut feel if I’d just restarted the node dev-output/foo.js
at the time it’d have gotten picked up properly as shadow-cljs had done it’s thing. I was expecting the require in the shim to blow up or work as expected though, seemed to have silently errored instead.