This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-14
Channels
- # announcements (4)
- # aws (7)
- # babashka (44)
- # beginners (178)
- # calva (15)
- # cider (3)
- # clj-kondo (15)
- # clojure (139)
- # clojure-dev (8)
- # clojure-europe (2)
- # clojure-italy (2)
- # clojure-losangeles (9)
- # clojure-nl (32)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (27)
- # clojurescript (17)
- # core-typed (116)
- # cursive (26)
- # data-science (1)
- # datomic (14)
- # duct (16)
- # emacs (9)
- # events (1)
- # fulcro (47)
- # jobs (3)
- # juxt (6)
- # keechma (2)
- # malli (59)
- # mid-cities-meetup (8)
- # off-topic (32)
- # pathom (5)
- # reagent (2)
- # remote-jobs (4)
- # rewrite-clj (16)
- # shadow-cljs (14)
- # spacemacs (9)
- # sql (27)
- # tools-deps (37)
- # vscode (7)
is there a way to watch
a release
build? debugging advanced-comp issues
i guess by putting :optimizations
`:advanced` on the dev build
Would using an external tool like entr work for you?
find src | entr shadow-cljs ...
http://entrproject.orgThat way you don't expose yourself to any differences in behavior between running a "normal invocation" and a "partial reload" of sorts
After nuking node_modules
to test some stuff I’m stuck with some shadow-cljs - failed to load
errors. package.json
and package-lock.json
are the same so I’m a little confused what could be causing this.
what kind of failed to load? there is some weird behavior if you delete too many node_modules
files while a watch
is running. it may not fully recover from that an may require a resatrt
module$node_modules$$firebase$firestore$dist$index_cjs
components.home.js TypeError: client.util.adapt_class is not a function
client.util.js TypeError: firebase.INTERNAL.registerComponent is not a function
I did restart the build multiple times
@robert-stuttaford :optimizations
does not apply to watch
builds as it always forces :none
. for debugging I suggest running shadow-cljs server
and then shadow-cljs release app --pseudo-names
or --debug
whenever you make a change
thank you, i'll do that
it ended up being pretty fast without server
anyway 😂