Increase Gulp watch interval to decrease CPU load

This commit is contained in:
Taylor Bryant 2017-11-29 21:46:39 -06:00 committed by GitHub
parent a0f5b422e6
commit eef194934f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ gulp.task('serve', ['jekyll-build'], () => {
});
gulp.watch([mainCSS, tailwindConfig], ['css']);
gulp.watch(['**/*.html', '**/*.md', '**/*.yml', '!_site/**/*'], ['jekyll-build']);
gulp.watch(['**/*.html', '**/*.md', '**/*.yml', '!_site/**/*'], { interval: 500 }, ['jekyll-build']);
});
gulp.task('default', ['css', 'serve']);