         (utils/log :debug "Figwheel: NOT loading these files ")
         (let [{:keys [figwheel-no-load not-required]}
               (group-by
-                     (fn [{:keys [meta-data]}]
-                       (cond
-                         (nil? meta-data) :not-required
-                         (contains? meta-data :figwheel-no-load) :figwheel-no-load
-                         :else :not-required))
-                     files-not-loaded)]
+               (fn [{:keys [namespace]}]
+                 (let [meta-data (get @figwheel-meta-pragmas (name namespace))]
+                   (cond
+                     (nil? meta-data) :not-required
+                     (meta-data :figwheel-no-load) :figwheel-no-load
+                     :else :not-required)))
+               files-not-loaded)]
           (when (not-empty figwheel-no-load)
             (utils/log (str "figwheel-no-load meta-data: "
-                            (pr-str (map :file figwheel-no-load)))))
+                            (pr-str (map (comp name->path :namespace) figwheel-no-load)))))
           (when (not-empty not-required)
             (utils/log (str "not required: " (pr-str (map :file not-required))))))))))
 

(defn before-jsload-custom-event [files]
  (utils/dispatch-custom-event "figwheel.before-js-reload" files))

(defn all? [pred coll]
  (reduce #(and %1 %2) true (map pred coll)))


(defn namespace-file-map? [m]
  (or

;; this matches goog behavior in url resolution should actually just
;; use that code
(defn resolve-ns [ns] (str goog/basePath (name->path ns)))

(defn addDependency [path provides requires]
  (doseq [prov provides]
    (path-to-name! path prov)
    (doseq [req requires]
      (name-to-parent! req prov))))

(defn bootstrap-goog-base
  "Reusable browser REPL bootstrapping. Patches the essential functions
