   ([{:keys [figwheel-options all-builds build-ids] :as autobuild-options}]
    (when *repl-api-system*
      (alter-var-root #'*repl-api-system* component/stop))
-   (alter-var-root #'*repl-api-system* (fn [_] (fs/start-figwheel! autobuild-options))))
+   (alter-var-root #'*repl-api-system* (fn [_] (fs/start-figwheel! autobuild-options)))
+   nil)
   ([]
    (if *repl-api-system*
-     (alter-var-root #'*repl-api-system* component/start)
+     (do
+       (alter-var-root #'*repl-api-system* component/start)
+       nil)
      ;; if no system exists try to read in a configuration
      (start-figwheel! (config/fetch-config)))))
 

  "If a figwheel process is running, this will stop all the Figwheel autobuilders and stop the figwheel Websocket/HTTP server."
  []
  (when *repl-api-system*
    (alter-var-root #'*repl-api-system* component/stop)))

(defn figwheel-running? []
  (or (get-in *repl-api-system* [:figwheel-system :system-running] false)

  ([func ids]
   (when (figwheel-running?)
     (let [system (get-in *repl-api-system* [:figwheel-system :system])]
       (reset! system (func @system ids))
       nil)))
  ([func]
   (when (figwheel-running?)
     (let [system (get-in *repl-api-system* [:figwheel-system :system])]
       (reset! system (func @system))
       nil))))

(defn build-once
  "Compiles the builds with the provided build ids
