Permalink
Browse files

c.t.n.repl: make repl state public

'refresh-tracker' and 'refresh-dirs' may be useful for for inspection at
the REPL.
  • Loading branch information...
stuartsierra committed Jul 31, 2015
1 parent 64e807c commit 0ce6646bb59a319a864faad5d01f1bc31c79e932
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/clojure/clojure/tools/namespace/repl.clj
@@ -14,9 +14,9 @@
[clojure.tools.namespace.find :as find]
[clojure.tools.namespace.reload :as reload]))
(defonce ^:private refresh-tracker (track/tracker))
(defonce refresh-tracker (track/tracker))
(defonce ^:private refresh-dirs [])
(defonce refresh-dirs [])
(defn- print-and-return [tracker]
(if-let [e (::reload/error tracker)]

0 comments on commit 0ce6646

Please sign in to comment.