- Start a Clojure REPL:
make repl
(a VS Code integrated terminal works great for this.) - Wait for the message `nREPL server started on port ...
- Connect the REPL via the "Connect to a Running REPL Server in the Project" command in VS Code.
- Choose "My local build" as the connection type
- Press enter at the next prompt which is prefilled with `localhost:
- Wait for the app to compile and open in your browser (opens on http://localhost:9010)
- Close the alert displayed
- Wait for the Calva output/repl window to display
; Connected session: cljs
- Load
src/main/repro/ui/core.cljs
(open it and use the command Calva: Load file and dependencies) - Also load
dev/tooling/portal.cljs
, and confirm that portal opens in a web browser window. - Then evaluate the two forms in the rich comment block at the bottom of the file:
(comment (open-portal) (tap> "Tap, tap! Who's there?"))