gulp.task('watch', function() { gulp.watch(['*.*']) .on('change', function(event) { console.log('success'); }); });
'use strict'; const gulp = require('gulp'); gulp.task('watch', function() { gulp.watch('./**/*.*', function(event) { console.log('success'); }) });
"dependencies": { "gulp": "^3.9.1" }
const localFilesWatch = ['./**/**/*.*', '!archive.zip', '!node_modules', '!node_modules/**'];