This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-19
Channels
- # announcements (15)
- # babashka (4)
- # beginners (55)
- # calva (92)
- # cider (70)
- # circleci (1)
- # clj-kondo (136)
- # cljdoc (2)
- # clojars (11)
- # clojure (48)
- # clojure-australia (1)
- # clojure-europe (30)
- # clojure-nl (3)
- # clojure-sweden (2)
- # clojure-uk (7)
- # clojurescript (40)
- # conjure (5)
- # core-async (11)
- # cursive (55)
- # data-science (1)
- # datomic (10)
- # degree9 (2)
- # development-containers (15)
- # events (1)
- # fulcro (14)
- # gratitude (13)
- # helix (5)
- # lsp (35)
- # malli (10)
- # meander (18)
- # off-topic (24)
- # pathom (13)
- # polylith (12)
- # practicalli (6)
- # re-frame (13)
- # reagent (33)
- # reitit (4)
- # remote-jobs (1)
- # shadow-cljs (13)
- # spacemacs (31)
- # specter (1)
- # stepwise (2)
- # tools-deps (19)
- # vim (1)
- # xtdb (7)
@thheller clojure-lsp feeds the result value of npx shadow-cljs classpath
to clj-kondo. If shadow-cljs isn't installed locally, shadow-cljs prints a warning saying WARNING: shadow-cljs not installed in project.
It prints it into stdout, which means it trickles all the way down to clj-kondo, which then proceeds to croak with an inscrutable error.
Would it be possible to change the println
calls here such that the warning is printed into stderr instead? https://github.com/thheller/shadow-cljs/blob/de52880090c7840ee30eb5369173c1bd7dd3055c/src/main/shadow/cljs/npm/cli.cljs#L783-L791
Looks like println
-> log
might do it?
Nice, thanks! I guess the main thing is that the stdout of npx shadow-cljs classpath
never contains anything else than the classpath. ๐
hey, is there any way to be able to watch a build, but not have live reload? Iโm making a node script, and itโs being consumed by something that has its own watch semantics (mocha, in this case)