                       [:figwheel-system])))
 
 ;; Being able to supply a mutable figwheel system that can be
-;; controled by a CLJS socket repl is very desirable.
+;; controlled by a CLJS socket repl is very desirable.
 ;;
 ;; That being said if one doesn't want the CLJS repl to be able to
 ;; control which builds are running etc then one can revert the method

  (let [system (create-figwheel-system options)]
    (component/start system)))

;; this is a blocking call
(defn start-figwheel-and-cljs-repl! [autobuild-options]
  (let [system (start-figwheel! autobuild-options)]
    (build-switching-cljs-repl (:figwheel-system system))))

(defn stop-figwheel! [system]
  (component/stop 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

