           (filter #(and (:meta-data %) (:namespace %)) files)]
     (swap! ns-meta-data assoc namespace meta-data)))
 
+(defn always-loaded-ns []
+  (map first (filter (fn [[k v]] (get v :figwheel-always)) @ns-meta-data)))
+
 (defn expand-files-to-include-deps [file-msgs]
   (dev-assert (all? namespace-file-map? file-msgs))
   (store-meta-data-for-files! file-msgs)

        additional-files (map (fn [x] { :namespace x
                                       :meta-data (get @ns-meta-data x)
                                       :file (resolve-ns x)
                                       :type :namespace }) additional-ns)]
    (topo-sort-files (concat (set file-msgs)
                             additional-files))))


(ns ^:figwheel-always figwheel.client.file-reloading
  (:require
   [figwheel.client.utils :as utils :refer-macros [dev-assert get-all-ns-meta-data]]
   [goog.Uri :as guri]
