Fork me on GitHub
#shadow-cljs
<
2018-06-27
>
grounded_sage02:06:29

@thheller thanks. I thought it was something on my end 🙂

pez07:06:17

@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.

lilactown16:06:42

:server-tests {:target :node-test
                         :output-to "target/test/tests.js"
                         :ns-regexp ".test."
                         :autorun "true"}

lilactown16:06:46

^ works for me

richiardiandrea16:06:44

^ have a similar setup and it works for me as well

lilactown18:06:25

does anyone have an example using karma with devcards?

lilactown18:06:31

I seem to remember an example floating around

nijk19:06:46

Does anyone know why the Shadow User Guide suggests an npm install of shadow-cljs both locally and globally?

nijk19:06:01

> $ npm install --save-dev shadow-cljs > $ npm install -g shadow-cljs

justinlee20:06:11

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.

thheller20:06:43

@nick828 the global install is just for convenience. only the one in the project actually matters

lwhorton23:06:39

hmm, has anyone bumped into shadow-cljs - command completed without status #js { .. giant js object }?

lwhorton23:06:42

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 😞

lwhorton23:06:07

after some more investigation, this seems like a memory issue. if i increase my docker limits (docker for mac) to 8gb instead of 4, my local docker image build completes. since i’m using circleci (which has a 4gb-per-build limit) i’m not really sure what else to do. oh no.