2017-02-16 22:31:16 +01:00
|
|
|
(ns user
|
|
|
|
(:require [mount.core :as mount]
|
|
|
|
yenu.core))
|
|
|
|
|
|
|
|
(defn start []
|
2017-03-28 00:19:23 +02:00
|
|
|
(mount/start-without #'yenu.core/repl-server))
|
2017-02-16 22:31:16 +01:00
|
|
|
|
|
|
|
(defn stop []
|
2017-03-28 00:19:23 +02:00
|
|
|
(mount/stop-except #'yenu.core/repl-server))
|
2017-02-16 22:31:16 +01:00
|
|
|
|
|
|
|
(defn restart []
|
|
|
|
(stop)
|
|
|
|
(start))
|