Open cvan opened 9 years ago
The default gulp.watch task doesn't work on new or deleted files.
gulp.watch
We can either wait for https://github.com/gulpjs/gulp/issues/651 to get resolved or use a gulp.watch alternative like https://github.com/floatdrop/gulp-watch (on past projects, I've used that one w/ great success).
At this time, we should also optimise our gulp tasks so that only changed files get copied over. For example, if one font changes, we shouldn't copy over all the fonts in src/web/fonts/ to dist/fonts/.
src/web/fonts/
dist/fonts/
The default
gulp.watch
task doesn't work on new or deleted files.We can either wait for https://github.com/gulpjs/gulp/issues/651 to get resolved or use a
gulp.watch
alternative like https://github.com/floatdrop/gulp-watch (on past projects, I've used that one w/ great success).