   configs of the ids provided."
   [& ids]
   (fs/print-config
-   @(get-in @*repl-api-system* [:figwheel-system :system])
+   @(get-in *repl-api-system* [:figwheel-system :system])
    ids))
 
 (defn cljs-repl

  "If you aren't connected to an env where fighweel is running already,
  this method will start the figwheel server with the passed in build info."
  ([{:keys [figwheel-options all-builds build-ids] :as autobuild-options}]
   (when @*repl-api-system*
     (swap! *repl-api-system* component/stop))
   (reset! *repl-api-system* (fs/start-figwheel! autobuild-options)))
  ([]
   (if @*repl-api-system*
     (swap! *repl-api-system* component/start)
     ;; if no system exists try to read in a configuration
     (start-figwheel! (config/fetch-config)))))



(defn start-figwheel-from-lein [{:keys [figwheel-options all-builds build-ids] :as options}]
  (let [system (fs/start-figwheel! options)]
    (alter-var-root #'*repl-api-system* (fn [_] system))
    (if (false? (:repl figwheel-options))
      (loop [] (Thread/sleep 30000) (recur))
      ;; really should get the given initial build id here
