Skip to content

refilljs/refill-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refill 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

Facebook

Shields

npm npm npm Travis
bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code
GitHub forks GitHub stars GitHub watchers

Installation

npm install --save refill-watcher

API

require('refill-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 refill-logger

Changelog

Changelog at github

Sponsors

Zaklinacze Kodu