From fb52f7939617744aaadc4709c53a7af386b33131 Mon Sep 17 00:00:00 2001 From: krajj7 Date: Sat, 26 Jan 2019 12:42:50 +0100 Subject: [PATCH 1/2] prevent reloading of mount.core ns - fix https://github.com/tolitius/mount/issues/106 --- src/mount/core.cljc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mount/core.cljc b/src/mount/core.cljc index 2128f90..9504ef5 100644 --- a/src/mount/core.cljc +++ b/src/mount/core.cljc @@ -1,4 +1,5 @@ (ns mount.core + #?(:clj {:clojure.tools.namespace.repl/load false}) ; prevent reloading of this ns #?(:clj (:require [mount.tools.macro :refer [on-error throw-runtime] :as macro] [mount.tools.macrovich :refer [deftime]] [mount.tools.logger :refer [log]] @@ -17,10 +18,6 @@ (defonce ^:private meta-state (atom {})) (defonce ^:private running (atom {})) ;; to clean dirty states on redefs -;; supporting tools.namespace: (disable-reload!) -#?(:clj - (alter-meta! *ns* assoc ::load false)) ;; to exclude the dependency - (defn- make-state-seq [state] (or (:order (@meta-state state)) (swap! state-seq inc))) From 2ba3c609951ef6b246c2916293bee2e9d5b2909c Mon Sep 17 00:00:00 2001 From: krajj7 Date: Sat, 26 Jan 2019 12:55:12 +0100 Subject: [PATCH 2/2] synced project.clj version with build.boot --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index 8e195b2..a5dbee5 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject mount "0.1.15" +(defproject mount "0.1.16-SNAPSHOT" :description "managing Clojure and ClojureScript app state since (reset)" :url "https://github.com/tolitius/mount" :license {:name "Eclipse Public License"