From c7abfb31e70af7c24e8ac29545227f50a94eca2b Mon Sep 17 00:00:00 2001 From: anatoly Date: Tue, 20 Oct 2015 15:47:25 -0400 Subject: [PATCH] [dev.clj]: note about custom app namespace --- README.md | 14 +++++++++++++- dev/dev.clj | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a0a538..5b29350 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,19 @@ maintain the start order for all the `defstates`. The "start" order is then recorded and replayed on each `(reset)`. -The "stop" order is simply `(reverse "start order")`. +The "stop" order is simply `(reverse "start order")`: + +```clojure +dev=> (reset) +15:32:44.343 [nREPL-worker-2] DEBUG mount - << stopping.. conn +15:32:44.344 [nREPL-worker-2] DEBUG mount - << stopping.. app-config + +:reloading (app.config app.nyse app.utils.datomic app dev) + +15:32:44.371 [nREPL-worker-2] DEBUG mount - >> starting.. app-config +15:32:44.380 [nREPL-worker-2] DEBUG mount - >> starting.. conn +:ready +``` You can see examples of start and stop flows in the [example app](https://github.com/tolitius/mount#mount-and-develop). diff --git a/dev/dev.clj b/dev/dev.clj index 17446c5..9966bad 100644 --- a/dev/dev.clj +++ b/dev/dev.clj @@ -13,8 +13,8 @@ [clojure.test :as test] ;; [clojure.core.async :refer [>!! !