From 277a8262e0e5ca245cdd01db0c1ff769a30fa71a Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Tue, 22 Dec 2020 16:00:21 +0100 Subject: [PATCH] Avoid gulp having to respawn --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a921d607220..72447b839ae 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test-browser": "node test/unit/browser/index.js", "preinstall": "node build/npm/preinstall.js", "postinstall": "node build/npm/postinstall.js", - "compile": "gulp compile --max_old_space_size=4095", + "compile": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile", "watch": "npm-run-all -lp watch-client watch-extensions", "watchd": "deemon yarn watch", "watch-webd": "deemon yarn watch-web", @@ -21,15 +21,15 @@ "kill-watch-webd": "deemon --kill yarn watch-web", "restart-watchd": "deemon --restart yarn watch", "restart-watch-webd": "deemon --restart yarn watch-web", - "watch-client": "gulp watch-client --max_old_space_size=4095", + "watch-client": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js watch-client", "watch-clientd": "deemon yarn watch-client", "kill-watch-clientd": "deemon --kill yarn watch-client", - "watch-extensions": "gulp watch-extensions --max_old_space_size=4095", + "watch-extensions": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js watch-extensions", "watch-extensionsd": "deemon yarn watch-extensions", "kill-watch-extensionsd": "deemon --kill yarn watch-extensions", "mocha": "mocha test/unit/node/all.js --delay", "precommit": "node build/hygiene.js", - "gulp": "gulp --max_old_space_size=8192", + "gulp": "node --max_old_space_size=8192 ./node_modules/gulp/bin/gulp.js", "electron": "node build/lib/electron", "7z": "7z", "update-grammars": "node build/npm/update-all-grammars.js", @@ -42,8 +42,8 @@ "strict-function-types-watch": "tsc --watch -p src/tsconfig.json --noEmit --strictFunctionTypes", "update-distro": "node build/npm/update-distro.js", "web": "node resources/web/code-web.js", - "compile-web": "gulp compile-web --max_old_space_size=4095", - "watch-web": "gulp watch-web --max_old_space_size=4095", + "compile-web": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile-web", + "watch-web": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js watch-web", "eslint": "eslint -c .eslintrc.json --rulesdir ./build/lib/eslint --ext .ts --ext .js ./src/vs ./extensions", "electron-rebuild": "electron-rebuild --arch=arm64 --force --version=11.1.0", "playwright-install": "node node_modules/playwright/install.js" -- GitLab