File tree 2 files changed +9
-12
lines changed
src/lambdaisland/launchpad
2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 30
30
(spit " .cpcache/launchpad.cp"
31
31
(str/join
32
32
" :"
33
- (time ( mapcat second (licp/classpath-chain ) )))))
33
+ (mapcat second (licp/classpath-chain )))))
34
34
35
35
(defn watch-handlers [opts]
36
36
(let [basis (basis opts)
Original file line number Diff line number Diff line change 63
63
(run! beholder/stop w))
64
64
(doall
65
65
(for [dir directories]
66
- (do
67
- (print dir " " )
68
- (time
69
- (watch
70
- (fn [{:keys [type path] :as event}]
71
- (if-let [f (get file->handler (str path))]
72
- (try
73
- (f event)
74
- (catch Exception e
75
- (prn e)))))
76
- (str dir))))))))))
66
+ (watch
67
+ (fn [{:keys [type path] :as event}]
68
+ (if-let [f (get file->handler (str path))]
69
+ (try
70
+ (f event)
71
+ (catch Exception e
72
+ (prn e)))))
73
+ (str dir))))))))
77
74
78
75
(comment
79
76
(watch!
You can’t perform that action at this time.
0 commit comments