     ;; reload scenarios we simply delete entries from the correct
     ;; private locations
     (set! (.-CLOSURE_IMPORT_SCRIPT goog/global) queued-file-reload)
+    ;; TODO reload-all doesn't work 
     (set! (.-require js/goog)
           (fn [src reload]
             (when (= reload "reload-all")
               (set! (.-cljsReloadAll_ js/goog) true))
             (let [reload? (or reload (.-cljsReloadAll__ js/goog))]
               (when reload?
-                (let [path (aget js/goog.dependencies_.nameToPath src)]
+                (let [path (name->path
+                                 src)]
                   (gobj/remove js/goog.dependencies_.visited path)
                   (gobj/remove js/goog.dependencies_.written path)
                   (gobj/remove js/goog.dependencies_.written


(defonce on-load-callbacks (atom {}))

(defn blocking-load [url]
  (let [out (chan)]
    (reload-file

    (fn [a b] (throw "Reload not defined for this platform"))))

(defn reload-file [{:keys [request-url] :as file-msg} callback]
  (dev-assert (string? request-url) (not (nil? callback)))
  (utils/debug-prn (str "FigWheel: Attempting to load " request-url))
  (reload-file* request-url
                (fn [success?]
