From aaf18ec17700ea81f48a2429fcaa74cc7e507cb2 Mon Sep 17 00:00:00 2001 From: Andrea Richiardi Date: Sun, 14 Aug 2016 18:18:22 -0700 Subject: [PATCH] CLJS-1746: Log the result of loading a dependency It traces the result of loading a dependency in load-deps when :verbose is true, that was just ignored before. --- src/main/cljs/cljs/js.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/cljs/cljs/js.cljs b/src/main/cljs/cljs/js.cljs index 9768ba5278..4e29fd7e84 100644 --- a/src/main/cljs/cljs/js.cljs +++ b/src/main/cljs/cljs/js.cljs @@ -343,6 +343,8 @@ (dissoc :ns))] (require bound-vars dep opts' (fn [res] + (when (:verbose opts) + (debug-prn "Loading result: " res)) (if-not (:error res) (load-deps bound-vars ana-env lib (next deps) opts cb) (if-let [cljs-dep (let [cljs-ns (ana/clj-ns->cljs-ns dep)]