mirror of https://github.com/logseq/logseq
Add worker-repl fn
parent
9ee04feeb5
commit
ec39bf0628
|
@ -10,3 +10,9 @@
|
|||
[]
|
||||
(api/watch :electron)
|
||||
(api/repl :electron))
|
||||
|
||||
;; Get the runtime id from http://localhost:9630/runtimes, pick the one which shows `browser-worker`
|
||||
(defn worker-repl
|
||||
[runtime-id]
|
||||
(assert runtime-id "runtime-id shouldn't be empty")
|
||||
(api/repl :app {:runtime-id runtime-id}))
|
||||
|
|
Loading…
Reference in New Issue