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

stop!clj

(stop! watcher)
source

watchclj

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

Execute a watcher map

Execute a watcher map
sourceraw 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)
sourceraw docstring

watcher*clj

(watcher* dirs)
source

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

× close