This will show you how to connect all of the pieces and test that everything works.
ClojureScript code is compiled once, then recompiled when files change. Recompiling keeps the compiled code fresh (for instance, when the browser is refreshed).
With a keystroke, Emacs sends ClojureScript code to a Java process running a ClojureScript REPL, which compiles the code into Javascript, then sends it to the browser to be executed.
cd <scrim-install-dir>/cljs-demo/
make cljs-node-repl
or
make cljs-browser-repl
To see what these commands do, run make -n cljs-node-repl
or make -n cljs-browser-repl
or read the makefile.
C-x C-f <scrim-install-dir>/cljs-demo/src/cljs_demo/demo.cljs RET
telnet localhost 5555
sudo ngrep -d any port 5555