Node.js example for shadow-cljs
Watch compile with with hot reloading:
yarn
yarn shadow-cljs watch appStart program:
node target/main.jsStart a REPL connected to current running program, app for the :build-id:
yarn shadow-cljs cljs-repl appshadow-cljs release appCompiles to target/main.js.
You may find more configurations on http://doc.shadow-cljs.org/ .
- add
shadow-cljs.ednto config compilation - compile ClojureScript
- run
node target/main.jsto start app and connect reload server
MIT