   (get-javascript-paths [_]))
 
 (def new-cljs-builder-schema
-  {:context s/Str
+  {:id s/Keyword
+   :context s/Str
    :source-path s/Str
    :target-dir s/Str
    :work-dir s/Str


(defn new-cljs-builder [& {:as opts}]
  (->> opts
        (merge {:context "/cljs/"
                :source-path "src-cljs"
                :target-dir "target/cljs"
                :work-dir "target/cljs-work"

                      (add-modules modules)
                      )))]

    (let [new-state (-> state
                        (cljs/step-reload-modified)
                        (cljs/step-compile-modules)
                        (cljs/flush-unoptimized))]
      (dosync
       (alter cljs-compiler-state (fn [m] (assoc-in m [builder] new-state)))
       (alter cljs-compiler-compile-count (fn [m] (update-in m [builder] (fnil inc 0))))))

    (println (format "Compiled %d times since last full compile" (get @cljs-compiler-compile-count builder))))

  :done)

