Liking cljdoc? Tell your friends :D

watchtower.core


extensionsclj

(extensions & exts)

Create a file-filter for the given extensions.

Create a file-filter for the given extensions.
raw docstring

file-filterclj

(file-filter w filt)

Add a filter to a watcher. A filter is just a function that takes in a java.io.File and returns truthy about whether or not it should be included.

Add a filter to a watcher. A filter is just a function that takes in a
java.io.File and returns truthy about whether or not it should be included.
raw docstring

ignore-dotfilesclj

(ignore-dotfiles f)

A file-filter that removes any file that starts with a dot.

A file-filter that removes any file that starts with a dot.
raw docstring

on-changeclj

(on-change w func)

When files are changed, execute a function that takes in a seq of the changed file objects.

When files are changed, execute a function that takes in a seq of the changed
file objects.
raw docstring

rateclj

(rate w r)

Set the rate of polling. Depreciated, rate has no meaning in this version.

Set the rate of polling.
Depreciated, rate has no meaning in this version.
raw docstring

watchclj

(watch {:keys [filters dirs on-change]})

Execute a watcher map

Execute a watcher map
raw docstring

watchercljmacro

(watcher dirs & body)

Create a watcher for the given dirs (either a string or coll of strings), applying the given transformations.

Transformations available: (rate) (file-filter) (on-change)

Create a watcher for the given dirs (either a string or coll of strings), applying
the given transformations.

Transformations available: (rate) (file-filter) (on-change)
raw docstring

watcher*clj

(watcher* dirs)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close