      (catch Exception e
        (e/user-friendly-error e)))))
 
-;; nREPL support
-
-(def ^:dynamic *nrepl-cljs* nil)
-(def ^:dynamic *nrepl-active* false)
-
 (defn nrepl-select [id]
   (if-not (get-worker id)
     [:no-worker id]

      (if-not worker
        :no-worker
        (repl-impl/stdin-takeover! worker app)))))

(defn help []
  (-> (slurp (io/resource "shadow/txt/repl-help.txt"))

        (println "To quit, type: :repl/quit")
        [:selected id])))

(defn repl [build-id]
  (if *nrepl-active*
    (nrepl-select build-id)
