   if any of the namespaces have not already been loaded from the
   ClojureScript REPL."
   [repl-env provides url]
-  (let [missing (remove #(contains? @loaded-libs %) provides)]
-    (when (seq missing)
-      (browser-eval (slurp url))
-      (swap! loaded-libs (partial apply conj) missing))))
-
-(defn setup [repl-env opts]
-  (server/start repl-env))
+  (browser-eval (slurp url)))
 
 ;; =============================================================================
 ;; Stracktrace parsing

                  Defaults to true.
  static-dir:     List of directories to search for static content. Defaults to
                  [\".\" \"out/\"].
  preloaded-libs: List of namespaces that should not be sent from the REPL server
                  to the browser. This may be required if the browser is already
                  loading code and reloading it would cause a problem.
  optimizations:  The level of optimization to use when compiling the client
                  end of the REPL. Defaults to :simple.
  src:            The source directory containing user-defined cljs files. Used to

    (reset! server/state {})
    (reset! browser-state {})))

(defn repl-env*
  [{:keys [output-dir] :as opts}]
  (merge (BrowserEnv.)
    {:port 9000
     :working-dir (->> [".repl" (util/clojurescript-version)]
                       (remove empty?) (string/join "-"))
     :serve-static true
     :static-dir (cond-> ["." "out/"] output-dir (conj output-dir))
     :preloaded-libs []
     :optimizations :simple
     :src "src/"}
    opts))

(defn repl-env
  "Create a browser-connected REPL environment.
