How-to integrate shadow-cljs with cider.
- Install npm dependencies:
yarn
- Start the clj REPL:
M+x cider-jack-in
- Start the server, build watcher and get the cljs REPL:
(watch-app!)
- Point your browser to
localhost:4040
Compile and run you tests once from the command line, and get back a status code:
yarn shadow-cljs compile ci
yarn karma start --single-run
You can also start a watcher and continuously evaluate the tests:
yarn shadow-cljs watch ci
in a separate terminal buffer:
yarn karma start