glob-watcher
glob-watcher copied to clipboard
Watch globs and execute a function upon change, with intelligent defaults for debouncing and queueing.
Taking this Gulp file: ```js const { watch } = require('gulp'); function css(cb) { cb(); } function js(cb) { cb(); } function defaultTask(cb) { watch('src/**/*.css', css); watch('src/scripts/index.js', js); cb(); }...
When there is a midline, the watch result is wrong. ### Please give us a sample of your gulpfile ```js var gulp = require(‘gulp'); gulp.task('watch', series(() => { watch([ 'src/**/*',...
Is it possible to configure glob-watcher to ignore all queued events? The idea is to run a process when a change is detected, but ignore events that happen while the...
I'd like to use this library as a dependency of a Typescript project but there are no type definitions currently (even on DT) so it's harder to integrate. It would...