Skip to content

Commit

Permalink
Merge pull request #954 from aiba/patch-1
Browse files Browse the repository at this point in the history
Use bound-fn in malli.dev/start! to preserve *out*
  • Loading branch information
ikitommi authored Sep 17, 2023
2 parents 8ef1f98 + 8a51f16 commit 2a5fc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/malli/dev.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
([options]
(with-out-str (stop!))
(mi/collect! {:ns (all-ns)})
(let [watch (fn [_ _ old new]
(let [watch (bound-fn [_ _ old new]
(->> (for [[n d] (:clj new)
:let [no (get-in old [:clj n])]
[s d] d
Expand Down

0 comments on commit 2a5fc9a

Please sign in to comment.