Liking cljdoc? Tell your friends :D

cryogen-core.watcher


checksumsclj

(checksums path ignored-files)
source

find-changesclj

(find-changes old-sums new-sums)
source

get-assetsclj

(get-assets path ignored-files)
source

start-watcher!clj

(start-watcher! root ignored-files action)

Same as start-watcher-for-changes! but expects 0-argument action

Same as [[start-watcher-for-changes!]] but expects 0-argument action
sourceraw docstring

start-watcher-for-changes!clj

(start-watcher-for-changes! root ignored-files callback & callback-args)

Start watching files under root for changes, excluding ignored-files (as per cryogen-core.io/ignore), and call (callback <callback-args> changeset) upon every change detected. Where:

  • changeset is a sequence of java.io.File with root-relative paths.
  • callback-args are any additional arguments to the callback, which will be passed before the changeset
Start watching files under `root` for changes, excluding `ignored-files`
(as per [[cryogen-core.io/ignore]]), and call `(callback <callback-args> changeset)`
upon every change detected. Where:
- `changeset` is a sequence of `java.io.File` with `root`-relative paths.
- `callback-args` are any additional arguments to the callback, which will be
  passed before the changeset
sourceraw docstring

watch-assetsclj

(watch-assets sums root ignored-files callback)
source

watch-with-fallback!clj

(watch-with-fallback! opts & groups)

Wraps hawk/watch! to swap in a polling implementation if any of the native OS file events interfaces fail.

Wraps hawk/watch! to swap in a polling implementation if any of the native
OS file events interfaces fail.
sourceraw docstring

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

× close