Add a debounce delay so switching branches rebuilds.

This commit is contained in:
Logan Smyth 2016-03-16 22:07:02 -07:00
parent 514d68770f
commit eb096b8290

View File

@ -45,7 +45,7 @@ gulp.task("build", function () {
}); });
gulp.task("watch", ["build"], function (callback) { gulp.task("watch", ["build"], function (callback) {
watch(scripts, function () { watch(scripts, {debounceDelay: 200}, function () {
gulp.start("build"); gulp.start("build");
}); });
}); });