                   false)))))
 
 (defmethod reload-base :html [request-url callback]
+  (dev-assert (string? request-url) (not (nil? callback)))  
   (let [deferred (loader/load (add-cache-buster request-url)
                               #js { :cleanupWhenDone true })]
     (.addCallback deferred #(apply callback [true]))

(defn add-request-urls [opts files]
  (map (partial add-request-url opts) files))

(defn reload-js-files [{:keys [before-jsload on-jsload load-from-figwheel] :as opts} {:keys [files] :as msg}]
  (go
    (before-jsload files)
    (let [files'  (add-request-urls opts (filter #(not (:dependency-file %)) files))
          res'    (<! (load-all-js-files files'))
          res     (filter :loaded-file res')
          files-not-loaded  (filter #(not (:loaded-file %)) res')]

   (or dependency-file
       (and meta-data (:figwheel-load meta-data))
       ;; IMPORTANT make sure this file is currently provided
       (contains? *loaded-libs* namespace)
       #_(.isProvided_ js/goog (name namespace)))
   (not (:figwheel-no-load (or meta-data {})))))

(defn js-reload [{:keys [request-url namespace meta-data] :as file-msg} callback]
