mirror of
https://github.com/Polymer/polymer-starter-kit.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #731 from abdonrd/patch-2
Update watch app in add-eslint-support.md
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user