This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-05
Channels
- # adventofcode (89)
- # announcements (9)
- # babashka (11)
- # beginners (8)
- # biff (5)
- # calva (4)
- # cherry (121)
- # clara (15)
- # clerk (16)
- # clj-kondo (20)
- # clj-otel (2)
- # cljdoc (20)
- # clojure (84)
- # clojure-austin (1)
- # clojure-bay-area (3)
- # clojure-berlin (1)
- # clojure-czech (2)
- # clojure-europe (59)
- # clojure-nl (1)
- # clojure-norway (12)
- # clojure-poland (1)
- # clojure-uk (15)
- # cursive (16)
- # datomic (46)
- # events (3)
- # fulcro (85)
- # graalvm (20)
- # hyperfiddle (11)
- # improve-getting-started (1)
- # lsp (7)
- # off-topic (48)
- # overtone (8)
- # podcasts-discuss (4)
- # re-frame (31)
- # releases (1)
- # ring (12)
- # sci (13)
- # shadow-cljs (8)
- # specter (3)
- # squint (26)
- # xtdb (5)
- # yamlscript (6)
Are there any workarounds for reloading NPM modules that have been linked (eg via yarn link
) other than touching the package.json
as described in https://github.com/thheller/shadow-cljs#759?
I found other folks running into the same issue (https://github.com/thheller/shadow-cljs#1121) and am wondering what I could do to speed up my workflow and iteration speed instead of restarting shadow after each change (which forces me to reconnect my repl as well 😞)
Touching package.json
does not trigger any reload and we still execute the old JS code.
It might be our setup though which is a bit complicated.
• Main project with shadow-cljs
• library project that uses an NPM module (required via deps.edn and package.json to transiently include the NPM module)
• the NPM module we want to link
I’ll try and create a small repro setup to isolate where things go wrong and update issue 1121 (linked above) if I find anything.
Hi, I'm currently experimenting with code splitting and shadow.lazy
and I've discovered that some tests that depend on the lazily loaded module are failing because they aren't waiting for the module to load. Is converting my tests to use cljs.test/async
what I have to do, or is there some other alternative?