From 9dba6d870bef5a3024adabd3fad762de173ae98e Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Wed, 10 Jan 2024 17:33:30 +0800 Subject: [PATCH] Updated doc to connect to worker --- docs/develop-logseq.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/develop-logseq.md b/docs/develop-logseq.md index b5ac100c51..5800091c3f 100644 --- a/docs/develop-logseq.md +++ b/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`` #### Connect to the web-worker context +Notice: this works only for the `feat/db` branch for now. + ##### 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 })` to connect to a web-worker context. -And we can find the `` 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 })` to connect to a web-worker context. +Tip; you can find the `` in http://localhost:9630/runtimes. ##### VSCode ;; TODO - ### Production Build ```bash