 
 (defn merge-resources-in-path
   ([state path]
-    (merge-resources-in-path state path {:reloadable true}))
+   (merge-resources-in-path state path {:reloadable true}))
   ([state path path-opts]
-   (let [file (io/file path)]
+   (let [file (io/file path)
+         resources (do-find-resources-in-path state path)]
      (-> state
          (cond->
            (.isDirectory file)

           (java.util.jar JarFile JarEntry)
           (com.google.javascript.jscomp.deps JsFileParser)
           (java.util.logging Level))
  (:require ;; [clojure.pprint :refer (pprint)]
    [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.core.reducers :as r]
    [clojure.tools.reader :as reader]
    [clojure.tools.reader.reader-types :as readers]
    [clojure.core.reducers :as r]
    [loom.graph :as lg]
    [loom.alg :as la]
    [cognitect.transit :as transit]
    [clojure.java.shell :as shell]
    [shadow.cljs.util :as util]))

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

              (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)))
