can't comment on cider stuff but :autorun
will run tests after compilation. very probable that cider just isn't displaying the output, nrepl is weird in that way.
Thanks, and so what's yours set-up for running them?
either from the REPL or manually. I don't use :autorun
so, by manually you mean something like
shadow-cljs compile test && node out/node-tests.js
how do you run them from the repl? Since then I discovered that I can open a repl which targets :test that does what I want, but it seems I can only have one repl open in cider (?)yes, by manually I mean I run node the-tests.js
whenever I want to run the tests. I'll still have the watch
running usually to see compile errors and stuff
from the repl just (cljs.test/run-tests 'the.ns-test)
or so
usually just a simple node-repl
I don't test much so you should probably ask someone that actually has a test workflow
thanks @thheller 🙌
Hello, I notice that in my app, re-compilation is very fast, but the reload (where the little wheel spins) takes a good 7 seconds, probably because I did something silly. Any idea what may cause the slowdown?
impossible to say without more info. you can run shadow-cljs watch app --verbose
to get a little more info about what is going on
your code might be doing something that takes a long time when it is getting loaded
Thank you! I will try the verbose mode and playing with the mount-root function
Strange, the delay disappeared as soon as I restarted the watch