A Clojurescript REPL for playing with Scuttlebutt Nodejs libraries.
For more information on running clojurescript from Shadow-cljs: https://shadow-cljs.github.io/docs/UsersGuide.html
Install globally via NPM
npm install -g shadow-cljs
Compile and watch for changes to source files:
shadow-cljs watch server
launch node application:
node out/main.js
Installing new npm dependencies:
npm install the-thing
In Emacs connect with Cider to Clojurescript REPL use ‘M-x cider-connect’, then run the following at the repl:
(shadow.cljs.devtools.api/nrepl-select :server)
Then switch to the server.main namespace from REPL
(in-ns 'server.core)
Or connect to REPL for the build from the command line:
shadow-cljs cljs-repl app