This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-27
Channels
- # aleph (10)
- # beginners (139)
- # cider (47)
- # clara (19)
- # cljs-dev (2)
- # cljsjs (9)
- # clojure (94)
- # clojure-berlin (1)
- # clojure-dev (23)
- # clojure-greece (5)
- # clojure-italy (5)
- # clojure-nl (14)
- # clojure-uk (36)
- # clojurescript (85)
- # cursive (2)
- # datomic (56)
- # emacs (3)
- # events (1)
- # fulcro (33)
- # garden (3)
- # graphql (6)
- # hoplon (53)
- # jobs (1)
- # leiningen (4)
- # mount (46)
- # nrepl (7)
- # off-topic (8)
- # om (3)
- # other-languages (4)
- # pedestal (7)
- # portkey (7)
- # re-frame (1)
- # reagent (16)
- # remote-jobs (3)
- # ring-swagger (2)
- # shadow-cljs (16)
- # slack-help (2)
- # tools-deps (2)
- # yada (1)
@thheller thanks. I thought it was something on my end 🙂
@thheller I have :autorun true
, The watcher recompiles the test target and I can run it using node, but it is not automatically run, AFACS.
:server-tests {:target :node-test
:output-to "target/test/tests.js"
:ns-regexp ".test."
:autorun "true"}
^ have a similar setup and it works for me as well
Does anyone know why the Shadow User Guide suggests an npm install of shadow-cljs
both locally and globally?
I think the reason is because the global version installs the cli on your path but the local version is the actual compiler that gets used. you presumably want the compiler version checked into your source code control but it is convenient to have the cli on the path.
@nick828 the global install is just for convenience. only the one in the project actually matters
@lee.justin.m @thheller Thanks :thumbsup:
hmm, has anyone bumped into shadow-cljs - command completed without status #js { .. giant js object }
?
i can only reproduce it in a ci environment, not locally. this probably means it has something to do with running inside a docker container. it’s kind of hard to debug becuase the output is something like {:status nil, :signal "SIGKILL", :output #js [nil nil nil], :pid 546, :stdout nil, :stderr nil
… not super helpful 😞