We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ddd878 commit 4e9b619Copy full SHA for 4e9b619
1 file changed
src/clj/cljs/closure.clj
@@ -57,7 +57,8 @@
57
[javax.xml.bind DatatypeConverter]
58
[java.nio.file Path Paths Files StandardWatchEventKinds WatchKey
59
WatchEvent FileVisitor FileVisitResult]
60
- [com.sun.nio.file SensitivityWatchEventModifier]))
+ [com.sun.nio.file SensitivityWatchEventModifier]
61
+ [com.google.common.base Throwables]))
62
63
(def name-chars (map char (concat (range 48 57) (range 65 90) (range 97 122))))
64
@@ -1486,7 +1487,8 @@ should contain the source for the given namespace name."
1486
1487
(when-let [f (:watch-fn opts)]
1488
(f))
1489
(catch Throwable e
- (.printStackTrace e))))
1490
+ (binding [*out* *err*]
1491
+ (println (Throwables/getStackTraceAsString e))))))
1492
(watch-all [^Path root]
1493
(Files/walkFileTree root
1494
(reify
0 commit comments