This commit is contained in:
Michiel Borkent 2022-05-17 16:33:15 +02:00
parent de54410669
commit b152ddf7ea
4 changed files with 22 additions and 9 deletions

View file

@ -31,7 +31,7 @@
:complete (let [completions (completions (assoc msg :ctx @!sci-ctx))]
(nrepl-reply msg completions))))
(when (.-SCITTLE_BROWSER_REPL_PROXY_PORT js/window)
(when (.-SCITTLE_NREPL_WEBSOCKET_PORT js/window)
(set! (.-ws_nrepl js/window)
(new js/WebSocket "ws://localhost:1340/_nrepl")))