|
@@ -49,7 +49,7 @@
|
|
|
(rum/mount (page/current-page) node)
|
|
|
(display-welcome-message)
|
|
|
(persist-var/load-vars)
|
|
|
- (when (and config/dev? (util/electron?))
|
|
|
+ (when config/dev?
|
|
|
(js/setTimeout #(sync/sync-start) 1000))))
|
|
|
|
|
|
(defn ^:export init []
|
|
@@ -70,7 +70,6 @@
|
|
|
;; stop is called before any code is reloaded
|
|
|
;; this is controlled by :before-load in the config
|
|
|
(handler/stop!)
|
|
|
- (when (and config/dev? (util/electron?))
|
|
|
-
|
|
|
+ (when config/dev?
|
|
|
(sync/<sync-stop))
|
|
|
(js/console.log "stop"))
|