 
         opts     (as->
                    (merge
-                     #_(select-keys env-opts
-                                    (cond-> [:target] repl? (conj :browser-repl)))
                      options
                      (when main-ns
                        {:main main-ns})) opts

            ;; I don't think so
            (when figwheel-mode?
              (cljs.repl/evaluate-form renv
                                       "<cljs repl>"
                                       (assoc (ana/empty-env)
                                              :ns (ana/get-namespace ana/*cljs-ns*))
                                       ;; todo allow opts to be added here
                                       (ana-api/forms-seq (StringReader. "(figwheel.core/start-from-repl)"))))
            (when-let [server @(:server repl-env)]
              (.join server))))))))

(def server (atom nil))

   [hawk.core :as hawk])
  (:import
   [java.io StringReader]))

;; ------------------------------------------------------------
;; Watching
