 
       (log state {:type :cache-write
                   :ns ns
-                  :name name}))))
+                  :name name})
+
+      true)))
 
 (defn maybe-compile-cljs
   "take current state and cljs resource to compile

  ;; only cache files that don't have warnings!
  (when-not (seq (:warnings rc))

    (let [cache-file (get-cache-file-for-rc state rc)
          cache-data
          (-> rc
              (dissoc :file :output :input :url)

                             from-jar)))]
    (or (when cache?
          (load-cached-cljs-resource state src))
        (let [compiled-src
              (do-compile-cljs-resource state src)]

          (when cache?
            (write-cached-cljs-resource compiled-src state))

          ;; fresh compiled, not from cache
          (assoc compiled-src :cached false)))))

(defn merge-provides [state provided-by provides]
  (reduce
