MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

Consider using a different gulp watcher #239

Open cvan opened 9 years ago

cvan commented 9 years ago

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).

cvan commented 9 years ago

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/.