gulpfile - be explicit about supporting arrays in watch

This commit is contained in:
Sindre Sorhus 2014-06-07 19:51:04 +02:00
parent 69492b47b5
commit 81bf15ea81

View File

@ -74,9 +74,9 @@ gulp.task('serve', ['styles'], function () {
gulp.task('watch', ['serve'], function () {
gulp.watch(['app/*.html'], reload);
gulp.watch('app/styles/**/*.{css,scss}', ['styles']);
gulp.watch('app/scripts/**/*.js', ['jshint']);
gulp.watch('app/images/**/*', ['images']);
gulp.watch(['app/styles/**/*.{css,scss}'], ['styles']);
gulp.watch(['app/scripts/**/*.js'], ['jshint']);
gulp.watch(['app/images/**/*'], ['images']);
});
gulp.task('build', ['jshint', 'html', 'images']);