 (comment 
  (cljs.closure/src-file->target-file
    "/Users/robert/Lively/LivelyKernel/cloxp-cljs-scratch/src/cljs/rksm/cljs_workspace_test.cljs"
-   (default-build-options "/Users/robert/Lively/LivelyKernel/cloxp-cljs-scratch")))
+   (build-opts-for-project "/Users/robert/Lively/LivelyKernel/cloxp-cljs-scratch")))
 
 ; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 ; cljs build related

      :source-map source-map-file
      :warnings true})))

(defonce builds (atom {}))

(defn- cljs-source-paths
  [project-dir]

  (if-let [file (or file (find-file-for-ns-on-cp changed-ns))]
    (let [new-source (or new-source (slurp file))
          old-source new-source
          build-opts (build-opts-for-project project-dir)
          compiler-env (or compiler-env env/*compiler* (env/default-compiler-env))]
      (build/build project-dir build-opts compiler-env)
      (ensure-ns-is-recompiled changed-ns file new-source build-opts compiler-env))
