Browse Source

Updated doc to connect to worker

Tienson Qin 1 year ago
parent
commit
9dba6d870b
1 changed files with 5 additions and 4 deletions
  1. 5 4
      docs/develop-logseq.md

+ 5 - 4
docs/develop-logseq.md

@@ -40,15 +40,16 @@ Open a dev environment (Browser dev app on ``localhost:3000`` or Desktop dev app
 ``cmd + shift + p`` -> ``Calva: Load/Evaluate Current File and its Requires/Dependencies``
 ``cmd + shift + p`` -> ``Calva: Load/Evaluate Current File and its Requires/Dependencies``
 
 
 #### Connect to the web-worker context
 #### Connect to the web-worker context
+Notice: this works only for the `feat/db` branch for now.
+
 ##### Emacs + Cider
 ##### Emacs + Cider
-When we connected to a CLJ nrepl (NOTE: if you already in a CLJS nrepl, use `:cljs/quit` to back to CLJ nrepl),
-then we can use `(shadow/nrepl-select :app {:runtime-id <id-num>})` to connect to a web-worker context.
-And we can find the `<id-num>` in http://localhost:9630/runtimes
+When you connected to a CLJ nrepl (NOTE: if you already in a CLJS nrepl, use `:cljs/quit` to back to CLJ nrepl),
+you can run `(shadow.user/worker-repl)`, or you can use `(shadow/nrepl-select :app {:runtime-id <id-num>})` to connect to a web-worker context.
+Tip; you can find the `<id-num>` in http://localhost:9630/runtimes.
 
 
 ##### VSCode
 ##### VSCode
 ;; TODO
 ;; TODO
 
 
-
 ### Production Build
 ### Production Build
 
 
 ```bash
 ```bash