(defn
start
([opts]
(when-not
(nil? goog/dependencies_)
(defonce
__figwheel-start-once__
(js/setTimeout
(fn*
[]
(let
[plugins'
(:plugins opts)
merge-plugins
(:merge-plugins opts)
system-options
(->
config-defaults
(merge (dissoc opts :plugins :merge-plugins))
handle-deprecated-jsload-callback
fill-url-template)
plugins
(if
plugins'
plugins'
(merge (base-plugins system-options) merge-plugins))]
(set! utils/*print-debug* (:debug opts))
(enable-repl-print!)
(add-plugins plugins system-options)
(reloading/patch-goog-base)
(doseq
[msg (:initial-messages system-options)]
(socket/handle-incoming-message msg))
(socket/open system-options)))))))
([] (start {})))