UNPKG

autoreload-gulp

Version:

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

14 lines (10 loc) 226 B
import gulp from 'gulp'; const hello = done => { console.log('Hello!'); done(); }; gulp.task('hello', hello); gulp.task('watch', gulp.series('hello', done => { gulp.watch('src/autoreload-gulp', hello); done(); }));