mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2026-03-15 21:23:17 +08:00
Don't delete output when watching to speed up development
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user