Don't delete output when watching to speed up development

This commit is contained in:
Rob Moran
2018-03-11 12:53:06 +00:00
parent 91bff5c186
commit 87ead6b568

View File

@@ -38,7 +38,7 @@ gulp.task("setWatch", () => {
// Clear built directories
gulp.task("clean", () => {
return del([nodeDir, typesDir, bundleDir]);
if (!watching) del([nodeDir, typesDir, bundleDir]);
});
// Lint the source