Skip to content

Commit e4a50fe

Browse files
committed
MOBILE-1528 gulp: Increase gulp watch interval
1 parent 61be938 commit e4a50fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gulpfile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ gulp.task('sass', ['sass-build'], function(done) {
9090
});
9191

9292
gulp.task('watch', function() {
93-
gulp.watch(paths.sass.core, ['sass']);
94-
gulp.watch(paths.sass.custom, ['sass']);
95-
gulp.watch(paths.js, ['build', 'config']);
93+
gulp.watch(paths.sass.core, { interval: 500 }, ['sass']);
94+
gulp.watch(paths.sass.custom, { interval: 500 }, ['sass']);
95+
gulp.watch(paths.js, { interval: 500 }, ['build', 'config']);
9696
var langsPaths = paths.lang.map(function(path) {
9797
return path + '*.json';
9898
});
99-
gulp.watch(langsPaths, ['lang']);
100-
gulp.watch(paths.config, ['config']);
99+
gulp.watch(langsPaths, { interval: 500 }, ['lang']);
100+
gulp.watch(paths.config, { interval: 500 }, ['config']);
101101
});
102102

103103
gulp.task('build', function(done) {

0 commit comments

Comments
 (0)