gulp-autowatch
Information
Package | gulp-autowatch |
Description | Sugar for reusing a paths object to watch and run gulp tasks |
Node Version | >= 0.9 |
Usage
Supports gulp 3.x and 4.x
var gulp = ;var autowatch = ; // key = task name to run// value = glob or array of globs to watchvar paths = vendor: './client/vendor/**/*' coffee: './client/**/*.coffee' jsx: './client/**/*.jsx' stylus: './client/**/*.styl' html: './client/**/*.html' config: './server/config/*.json'; // assume all those tasks were defined gulp;