   (let [root (io/file path)
         root-path (.getAbsolutePath root)
         root-len (inc (count root-path))]
-    (for [file (file-seq root)
-          :let [abs-path (.getAbsolutePath file)]
-          :when (and (is-cljs-resource? abs-path)
-                     (not (.isHidden file)))
-          :let [name (-> abs-path
-                         (.substring root-len)
-                         (normalize-resource-name))]
-          :when (not (should-ignore-resource? state name))]
-
-      (make-fs-resource state path name file)
-      )))
+    (into [] (for [file (file-seq root)
+                   :let [abs-path (.getAbsolutePath file)]
+                   :when (and (is-cljs-resource? abs-path)
+                              (not (.isHidden file)))
+                   :let [name (-> abs-path
+                                  (.substring root-len)
+                                  (normalize-resource-name))]
+                   :when (not (should-ignore-resource? state name))]
+
+               (make-fs-resource state path name file)
+               ))))
+
 (defn get-resource-for-provide [state ns-sym]
   {:pre [(compiler-state? state)
          (symbol? ns-sym)]}

              (log-warning logger
                (format "MACRO-RELOAD FAILED %s!%n%s" name st)))))
        (assoc-in state [:macros ns] (dissoc rc :scan)))
    :delete
    (do (log-progress logger (format "[RELOAD] del: %s" file))
        (unmerge-resource state (:name rc)))

           (java.util.jar JarFile JarEntry)
           (com.google.javascript.jscomp.deps JsFileParser)
           (java.util.logging Level))
  (:require [clojure.data.json :as json]
            [clojure.java.io :as io]
            [clojure.set :as set]
            [clojure.string :as str]
            [clojure.edn :as edn]
            [cljs.analyzer :as ana]
            [cljs.closure :as closure]
            [cljs.compiler :as comp]
            [cljs.source-map :as sm]
            [cljs.env :as env]
            [cljs.tagged-literals :as tags]
            [cljs.util :as cljs-util]
            [clojure.repl :refer (pst)]
            [clojure.tools.reader :as reader]
            [clojure.tools.reader.reader-types :as readers]
            [loom.graph :as lg]
            [loom.alg :as la]
            [cognitect.transit :as transit]
            [shadow.cljs.util :as util]
    ;; [clojure.pprint :refer (pprint)]
            ))

(defn ^com.google.javascript.jscomp.Compiler make-closure-compiler []
  (com.google.javascript.jscomp.Compiler/setLoggingLevel Level/WARNING)
