           (string/replace "__dirname"
             (str "\"" (str rewrite-path File/separator "bootstrap") "\""))
           (string/replace "./.." rewrite-path)))
+      ;; load the deps file so we can goog.require cljs.core etc.
       (node-eval repl-env
         (str "require('"
           (.getPath root-path)

                        (closure/src-file->target-file core)
                        :static-fns true))
            deps    (closure/add-dependencies opts core-js)]
        (apply closure/output-unoptimized
          (assoc opts
            :output-to (.getPath (io/file output-dir "node_repl_deps.js")))

  [& options]
  (repl-env* options))

