(dirs-to-watch watched-dirs dirs file-paths)
Returns any parents of file-paths that are not in watched-dirs.
Returns any parents of file-paths that are not in watched-dirs.
(roots paths)
Remove from paths any subdirectories.
Remove from paths any subdirectories.
(start! make-fn
{:as orig-spec :keys [base-source-path watch-dirs]}
source-paths)
Watch directories of a spec
Watch directories of a spec
(stop-watching-dirs! dirs)
Stop watching file changes in all dirs
.
Stop watching file changes in all `dirs`.
(subdirs paths1 paths2)
Return a subset of paths1
that are subdirectories of any paths2
.
Return a subset of `paths1` that are subdirectories of any `paths2`.
(watch-dirs! dirs make-fn spec)
Start watching file changes in dirs
with make.
Start watching file changes in `dirs` with make.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |