Merge pull request #731 from abdonrd/patch-2

Update watch app in add-eslint-support.md
This commit is contained in:
Sam Saccone
2016-03-01 10:25:05 -08:00

View File

@@ -75,7 +75,7 @@ Make sure the `lint` gulp task is triggered by the common build tasks:
...
gulp.watch(['app/**/*.html'], reload);
gulp.watch(['app/**/*.html', '!app/bower_components/**/*.html'], reload);
gulp.watch(['app/styles/**/*.css'], ['styles', reload]);
gulp.watch(['app/elements/**/*.css'], ['elements', reload]);
+ gulp.watch(['app/{scripts,elements}/**/{*.js,*.html}'], ['lint']);