Liking cljdoc? Tell your friends :D

scicloj.clay.v2.live-reload


*stateclj

source

dirs-to-watchclj

(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.
sourceraw docstring

empty-stateclj

source

file-specclj

(file-spec file)
source

rootsclj

(roots paths)

Remove from paths any subdirectories.

Remove from paths any subdirectories.
sourceraw docstring

start!clj

(start! make-fn
        {:as orig-spec :keys [base-source-path watch-dirs]}
        source-paths)

Watch directories of a spec

Watch directories of a spec
sourceraw docstring

stop!clj

(stop!)

Stop all directory watchers.

Stop all directory watchers.
sourceraw docstring

stop-watching-dirs!clj

(stop-watching-dirs! dirs)

Stop watching file changes in all dirs.

Stop watching file changes in all `dirs`.
sourceraw docstring

subdir?clj

(subdir? dir root)
source

subdirsclj

(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`.
sourceraw docstring

toggle!clj

(toggle! make-fn spec source-paths)
source

watch-dirs!clj

(watch-dirs! dirs make-fn spec)

Start watching file changes in dirs with make.

Start watching file changes in `dirs` with make.
sourceraw docstring

watch-files!clj

(watch-files! files spec)
source

watched-dirsclj

(watched-dirs)
source

watched-filesclj

(watched-files)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close