npm.io
0.1.0 • Published 10 years ago

zkflow-watcher

Licence
MIT
Version
0.1.0
Deps
2
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

zkflow-watcher

Zkflow watcher watches files for you and runs provided asynchronous function when this files changes. It prevents function to run more than once at a time and prevents building up run queue.

Made by Zaklinacze Kodu

Shields

npm npm npm
Travis Code Climate
David David
GitHub forks GitHub stars GitHub followers

Installation

npm install --save zkflow-watcher

API

require('zkflow-watcher').watch(task, isWatching, globs, logger);
  • task - asynchronous function, witch return promise;
  • isWatching - true or false. When false task will be run only once and then it will exit.
  • globs - globs that will be passed to gulp-watch
  • logger - logger from gulp-zkflow-utils

Keywords