2016-08-20 21:36:09 +00:00
|
|
|
(ns user
|
|
|
|
(:require [mount.core :as mount]
|
2018-01-09 12:11:35 +00:00
|
|
|
[commiteth.figwheel :refer [start-fw stop-fw cljs]]))
|
2016-08-20 21:36:09 +00:00
|
|
|
|
|
|
|
(defn start []
|
2018-01-09 12:11:35 +00:00
|
|
|
(require 'commiteth.core)
|
|
|
|
(mount/start-without (ns-resolve 'commiteth.core 'repl-server)))
|
2016-08-20 21:36:09 +00:00
|
|
|
|
|
|
|
(defn stop []
|
2018-01-09 12:11:35 +00:00
|
|
|
(require 'commiteth.core)
|
|
|
|
(mount/stop-except (ns-resolve 'commiteth.core 'repl-server)))
|
2016-08-20 21:36:09 +00:00
|
|
|
|
|
|
|
(defn restart []
|
|
|
|
(stop)
|
|
|
|
(start))
|