yenu/env/dev/clj/user.clj

22 lines
464 B
Clojure
Raw Normal View History

(ns user
(:require [mount.core :as mount]
[yenu.figwheel :refer [start-fw stop-fw cljs]]
yenu.core))
(defn start []
(mount/start-without #'yenu.core/http-server
#'yenu.core/repl-server))
(defn stop []
(mount/stop-except #'yenu.core/http-server
#'yenu.core/repl-server))
(defn restart []
(stop)
(start))
2017-03-15 00:28:27 +01:00
(defn start-with-server []
(start)
(mount/start #'yenu.core/http-server))