This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-03
Channels
- # announcements (6)
- # babashka (14)
- # beginners (17)
- # biff (3)
- # calva (19)
- # circleci (3)
- # clj-on-windows (1)
- # cljdoc (21)
- # cljs-dev (6)
- # clojure (119)
- # clojure-australia (2)
- # clojure-europe (28)
- # clojure-france (3)
- # clojure-norway (12)
- # clojure-survey (2)
- # clojure-uk (7)
- # clojurescript (25)
- # core-typed (1)
- # cursive (11)
- # datomic (53)
- # emacs (14)
- # events (1)
- # gratitude (1)
- # holy-lambda (21)
- # integrant (2)
- # jobs (1)
- # jobs-discuss (3)
- # juxt (3)
- # kaocha (1)
- # lsp (17)
- # nbb (14)
- # off-topic (25)
- # pathom (11)
- # re-frame (24)
- # releases (1)
- # remote-jobs (2)
- # rewrite-clj (10)
- # shadow-cljs (11)
- # sql (3)
- # tools-build (6)
- # tools-deps (83)
- # vim (26)
- # xtdb (10)
only an actual require in your ns causes a dependency to be included. just having it in :dependencies
does not affect the build in any way
you can and should verify what is included via builds reports https://shadow-cljs.github.io/docs/UsersGuide.html#build-report
if we use internal http server, is there a way turn the dev-http one off ?
just don't configure it? If you don't use it you dont have to configure any :dev-http
I'm wondering :dev-http starts and watches for public files. I'm using my own server and configured :devtools {:watch-dir "resources/public"}. From time to time when I'm using shadow my computer hangs on a long running task to the point I loose control of the gui. At work and at home, same cpu 12 core linux ubuntu focal fossa. I just wanted to make things lighter hopefully getting rid of this behaviour, that I cant confirm that is caused by shadow. But It just happen when I'm using it.
hmm no clue sorry. watching files isn't that resource consuming since it uses the OS for that on linux
I mean create a jstack
dump or something when it happens. should be possible to identify what is causing it (if it is shadow)
Hello, I can't connect to a node-script javascript runtime anymore since I updated to the latest version of shadow-cljs. I use shadow-cljs watch app
then cider-connect-cljs
then node app.js
. Then I try to evaluate a form in app.cljs
and I get "No available JS runtime". I'm not getting any shadow-cljs message in the node process.
Ok I fixed it. Turned out my program was generating some kind of infinite loop before shadow instanciated the websocket