This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-02
Channels
- # announcements (5)
- # babashka (1)
- # beginners (140)
- # braveandtrue (1)
- # calva (28)
- # chlorine-clover (39)
- # cider (8)
- # clj-kondo (1)
- # cljfx (15)
- # cljs-dev (2)
- # clojure (41)
- # clojure-europe (39)
- # clojure-france (3)
- # clojure-germany (5)
- # clojurescript (28)
- # clr (1)
- # css (1)
- # cursive (3)
- # data-science (19)
- # fulcro (14)
- # graalvm (3)
- # hoplon (18)
- # jobs (2)
- # malli (7)
- # meander (2)
- # off-topic (10)
- # pathom (6)
- # re-frame (3)
- # reagent (2)
- # remote-jobs (1)
- # reveal (1)
- # shadow-cljs (5)
Hi, I am trying to hunt down a strange bug. I have a multifunction defined in multiple files. When I start watch process, the function is not called correctly. When I modify the source file, for instance by adding a log there, Shadow logo shows in the bottom left corner and everything works fine, even after removing the added line. When I restart shadow-cljs, the problem repeats, and it also happens within release build. If I keep the log there and restart watch, the line is not printed to console.
Also reloading the app in the browser causes the same problem, again only fixed after reloading the file. If I write console.log as the top level form, it is called in the beginning. But not inside the multifn. I am running 2.11.11.
Ok, sorry, I have found it, I had the same method overridden by another file 🙂.
hi, are there any example of build hooks? what people do with this feature? https://shadow-cljs.github.io/docs/UsersGuide.html#build-hooks