    (let [files'  (add-request-urls opts files) 
          res     (<! (load-all-js-files files'))]
      (when (not-empty res)
-       (.log js/console "%cFigwheel: loaded these files" log-style )
+       (.debug js/console "Figwheel: loaded these files")
        (.log js/console (prn-str (map :file res)))
        (<! (timeout 10)) ;; wait a beat before callback
        (apply on-jsload [res])))))

   [cljs.core.async.macros :refer [go go-loop]]
   [figwheel.client :refer [defonce]]))

(def log-style "color:rgb(0,128,0);")

(defn log [{:keys [debug]} & args]
  (when debug
    (.log js/console (to-array args))))

                                       nil))))
      (set! (.-onopen socket)  (fn [x]
                                 (patch-goog-base)
                                 (.debug js/console "Figwheel: socket connection established")))
      (set! (.-onclose socket) (fn [x]
                                 (log opts "Figwheel: socket closed or failed to open")
                                 (when (> retry-count 0)
