forgot dev-src stuff
This commit is contained in:
parent
b4f9196d6e
commit
2d36543ce5
8
dev-src/picture_processor/repl.cljs
Normal file
8
dev-src/picture_processor/repl.cljs
Normal file
@ -0,0 +1,8 @@
|
||||
(ns picture-processor.repl
|
||||
(:require weasel.repl))
|
||||
|
||||
(defn start
|
||||
"Start the Weasel repl to connect to vim-fireplace"
|
||||
[port]
|
||||
(aset js/global "WebSocket" (js/require "ws"))
|
||||
(weasel.repl/connect (str "ws://localhost:" port)))
|
Loading…
Reference in New Issue
Block a user