This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-31
Channels
- # announcements (20)
- # asami (14)
- # aws (6)
- # babashka (15)
- # beginners (83)
- # biff (6)
- # calva (93)
- # cider (3)
- # clj-kondo (21)
- # cljdoc (106)
- # cljs-dev (32)
- # clojure (165)
- # clojure-dev (78)
- # clojure-europe (54)
- # clojure-italy (9)
- # clojure-nl (9)
- # clojure-norway (24)
- # clojure-uk (4)
- # clojurescript (6)
- # community-development (2)
- # conjure (2)
- # core-typed (14)
- # datahike (4)
- # datomic (2)
- # emacs (40)
- # events (1)
- # fulcro (11)
- # graalvm-mobile (29)
- # graphql (8)
- # honeysql (19)
- # java (1)
- # jobs (1)
- # lsp (232)
- # malli (5)
- # membrane (112)
- # nextjournal (11)
- # off-topic (63)
- # portal (12)
- # re-frame (6)
- # reagent (3)
- # reitit (4)
- # rewrite-clj (2)
- # shadow-cljs (25)
- # tools-deps (6)
Is detecting and hot reloading node_modules supported? If not, is there a way to trigger a reload if I can tell shadow that a node_module changed?
@arohner touch node_modules/that-package/package.json
will trigger a reload of that-package. well at least a recompile, hot reload is not really supported given how commonjs works
@thheller shadow-cljs does not recompile macros in required files when loading .cljs
files. Is this on purpose or to be considered a bug?
macro reloading works just fine. if you have a reproducible example of unexpected behavior I'm happy to take a look
Here's a repo that a colleague of mine created: https://github.com/sam-pitch/macro_example
I first thought it was a Calva issue, but then I can repro it using shadow only. https://github.com/sam-pitch/macro_example/issues/1
that is what this is for https://clojureverse.org/t/using-none-code-resources-in-cljs-builds/3745
if you just slurp some stuff shadow-cljs can't know that this file is part of compilation
Do you know why loading the example.cljc
file in the ClojureScript REPL bypasses the cache?
load-file does exactly what it says. it loads the file, without considering any cache.
Is there a way to get Cursive to send forms to a node-repl? I'm getting the "Cannot load ClojureScript form into Clojure REPL" if I connect with the Clojure REPL setup.
Oh, I think I found it: https://shadow-cljs.github.io/docs/UsersGuide.html#_cursive