diff --git a/packages/grpc-js/gulpfile.ts b/packages/grpc-js/gulpfile.ts index 817b2a36..b3b576aa 100644 --- a/packages/grpc-js/gulpfile.ts +++ b/packages/grpc-js/gulpfile.ts @@ -47,7 +47,9 @@ const install = () => execNpmVerb('install', '--unsafe-perm'); */ const lint = () => execNpmCommand('check'); -const clean = () => execNpmCommand('clean'); +const cleanFiles = () => execNpmCommand('clean'); + +const clean = gulp.series(install, cleanFiles); const cleanAll = gulp.parallel(clean); diff --git a/packages/proto-loader/gulpfile.ts b/packages/proto-loader/gulpfile.ts index 04fd131b..ff8f0855 100644 --- a/packages/proto-loader/gulpfile.ts +++ b/packages/proto-loader/gulpfile.ts @@ -43,7 +43,9 @@ const install = () => execNpmVerb('install', '--unsafe-perm'); */ const lint = () => execNpmCommand('check'); -const clean = () => execNpmCommand('clean'); +const cleanFiles = () => execNpmCommand('clean'); + +const clean = gulp.series(install, cleanFiles); const cleanAll = gulp.parallel(clean);