      :last-modified 0 ;; this file should never cause recompiles
      }))
 
+
 (defn generate-output-for-source [state {:keys [name type output warnings] :as src}]
   {:pre [(valid-resource? src)]}
   (if (and (seq output)

            [clojure.pprint :refer (pprint)]
            ))

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

  (assoc rc :input (delay (slurp url))))

(defn reset-resource-by-name [state name]
  (let [{:keys [^File file] :as rc} (get-in state [:sources name])
        new-rc
        (-> rc
            (dissoc :ns :ns-info :requires :provides :output :compiled :compiled-at)
