mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-26 07:15:53 +00:00
Don't unnecessary load jail upon figwheel reload
This commit is contained in:
parent
3df4a7f1e4
commit
00132c5921
6
env/dev/env/android/main.cljs
vendored
6
env/dev/env/android/main.cljs
vendored
@ -10,15 +10,11 @@
|
||||
(def cnt (r/atom 0))
|
||||
(defn reloader [] @cnt [core/app-root])
|
||||
(def root-el (r/as-element [reloader]))
|
||||
(defn callback []
|
||||
(swap! cnt inc)
|
||||
(status-im.native-module.core/init-jail)
|
||||
(re-frame.core/dispatch [:load-commands!]))
|
||||
|
||||
(figwheel/watch-and-reload
|
||||
:websocket-url "ws://10.0.3.2:3449/figwheel-ws"
|
||||
:heads-up-display false
|
||||
:jsload-callback callback)
|
||||
:jsload-callback #(swap! cnt inc))
|
||||
|
||||
(utils.handlers/add-pre-event-callback rr/pre-event-callback)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user