    [clojure.set :refer [difference union]]
    [clojure.string :as string]))
 
+;; exporting functionality inorder to make figwheel-sidecar.system
+;; the main require for scripting figwheel
+
 (def fetch-config config/fetch-config)
 
 (defn css-watcher [opts]

                    (keep :id (filter config/optimizations-none? (vals builds))))]
          (recur chosen-build-id))))))

;; takes a FigwheelSystem
(defn figwheel-cljs-repl
  ([figwheel-system]

  ([{:keys [system]} start-build-id]
   (build-switching-cljs-repl* system start-build-id)))

(defn cljs-repl
  ([{:keys [system]}] (cljs-repl* system nil))
  ([{:keys [system]} start-build-id] (cljs-repl* system start-build-id)))

;; figwheel starting and stopping helpers

