yenu/env/dev/clj/user.clj

22 lines
464 B
Clojure

(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))
(defn start-with-server []
(start)
(mount/start #'yenu.core/http-server))