Skip to content

Commit 8d93d46

Browse files
committed
Support additional :watch-paths
1 parent 1dbe971 commit 8d93d46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lambdaisland/classpath/watch_deps.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@
9393
(map canonical-path)
9494
(map #(path % "deps.edn"))))
9595
(string? (:extra opts))
96-
(conj (canonical-path (:extra opts))))
96+
(conj (canonical-path (:extra opts)))
97+
:always
98+
(concat (:watch-paths opts)))
9799
roots (group-by parent-path deps-paths)]
98-
(prn roots)
99100
(doall
100101
(for [[root deps-paths] roots]
101102
(beholder/watch

0 commit comments

Comments
 (0)