Added new build:clientServer script to speed up inner loop of debugging.

This commit is contained in:
Eric Traut 2019-03-24 18:05:31 -07:00
parent 7e859f73d9
commit 816c4131e3
2 changed files with 3 additions and 2 deletions

2
.vscode/launch.json vendored
View File

@ -38,7 +38,7 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/client/out/src/extension.js",
"preLaunchTask": "npm: build",
"preLaunchTask": "npm: build:clientServer",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/client"
],

View File

@ -14,9 +14,10 @@
},
"scripts": {
"install:all": "npm install && cd server && npm install && cd ../client && npm install && cd ..",
"build": "npm run build:client && npm run build:server",
"build": "npm run build:clientServer && run build:pyright",
"build:client": "cd client && npm run build && cd ..",
"build:server": "cd server && npm run build && cd ..",
"build:clientServer": "npm run build:client && npm run build:server",
"build:analyzer": "cd server && npm run build:analyzer && cd ..",
"build:pyright": "cd server && npm run build:pyright && cd ..",
"package": "npm run install:all && npm run build && cd client && npx vsce package && cd .."