   (:require [clojure.java.browse :refer [browse-url]]
             [clojure.repl :refer :all]
             [clojure.tools.namespace.repl :refer [refresh]]
-            [comic-reader.system :refer [go start stop]]
+            [comic-reader.system :as system]
             [figwheel-sidecar.repl-api :refer :all]))
 
 (defn- cwd []

                  :asset-path "js/compiled/devcards_out"}}]})

(defn start-dev! [& args]
  (apply go args)
  (start-figwheel! figwheel-config)
  (start-autobuild)
  (browse-url "http://localhost:10555/devcards"))

(defn stop-dev! []
  (stop-autobuild)
  (stop-figwheel!)
  (system/stop))

(defn reset []
  (stop-dev!)
