UNPKG

autoreload-gulp

Version:

Reloads gulp process when gulpfile.js or an imported relative dependency change

14 lines (10 loc) 243 B
var gulp = require('gulp'); var hello = function (done) { console.log('Hello!'); done(); }; gulp.task('hello', hello); gulp.task('watch', gulp.series('hello', function (done) { gulp.watch('src/autoreload-gulp', hello); done(); }));