mirror of
https://github.com/google/material-design-lite.git
synced 2024-09-11 12:25:38 +03:00
parent
f4b1aa9e5a
commit
de353a0163
@ -31,10 +31,10 @@ var reload = browserSync.reload;
|
||||
// Lint JavaScript
|
||||
gulp.task('jshint', function () {
|
||||
return gulp.src('app/scripts/**/*.js')
|
||||
.pipe(reload({stream: true, once: true}))
|
||||
.pipe($.jshint())
|
||||
.pipe($.jshint.reporter('jshint-stylish'))
|
||||
.pipe($.if(!browserSync.active, $.jshint.reporter('fail')))
|
||||
.pipe(reload({stream: true}));
|
||||
.pipe($.if(!browserSync.active, $.jshint.reporter('fail')));
|
||||
});
|
||||
|
||||
// Optimize Images
|
||||
|
Loading…
Reference in New Issue
Block a user