I am using gulp.watch and i would like to ignore a folder (node_modules for instance). I would like to use:
gulp.watch(['../**/*.php', '!./node_modules/**'], reload);
My gulp file is based on Web Starter Kit from Google and this is my serve task with the bloated manual gulp.watch:
Hi,
I am using gulp.watch and i would like to ignore a folder (node_modules for instance). I would like to use:
gulp.watch(['../**/*.php', '!./node_modules/**'], reload)
;My gulp file is based on Web Starter Kit from Google and this is my serve task with the bloated manual gulp.watch: