prevent some unnecessary cljs repl reconnection attempts
suggested improvement noted in https://github.com/tomjakubowski/weasel/issues/24
This commit is contained in:
parent
b5646383d5
commit
e960b6b822
|
@ -23,7 +23,8 @@
|
|||
(defn init-app []
|
||||
(when (dev?)
|
||||
(enable-console-print!)
|
||||
(if (supports-ws?)
|
||||
(if (and (supports-ws?)
|
||||
(not (ws-repl/alive?)))
|
||||
(ws-repl/connect "ws://localhost:9001" :verbose true)))
|
||||
(secretary/set-config! :prefix "#")
|
||||
(hook-browser-navigation!))
|
||||
|
|
Reference in a new issue