Skip to content

Commit

Permalink
Update VSCode + Calva with more details
Browse files Browse the repository at this point in the history
  • Loading branch information
cnrpman authored and tiensonqin committed Feb 14, 2023
1 parent 05f9748 commit d653178
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/develop-logseq.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ Then open the browser <http://localhost:3001>.
### REPL setup

#### VSCode + Calva
With ```yarn watch``` running, it should prints ``shadow-cljs - nREPL server started on port 8701``

You may connect to the nREPL server with:

``cmd + shift + p`` -> ``Calva: Connect to a running nREPL server`` -> ``logseq`` -> ``shadow-cljs``->``:app`` ->``localhost:8701``

(change ``:app`` to ``:electron`` if you want to connect to the main thread of the Electron app)

Open a dev environment (Browser dev app on ``localhost:3000`` or Desktop dev app), then you can play REPL on the current editing file:

``cmd + shift + p`` -> ``Calva: Load/Evaluate Current File and its Requires/Dependencies``

### Production Build

Expand Down

0 comments on commit d653178

Please sign in to comment.