user.clj 238 B

123456789101112131415
  1. (ns user
  2. (:require [mount.core :as mount]
  3. hello.core))
  4. (defn start []
  5. (mount/start-without #'hello.core/repl-server))
  6. (defn stop []
  7. (mount/stop-except #'hello.core/repl-server))
  8. (defn restart []
  9. (stop)
  10. (start))