diff --git a/.vscode/launch.json b/.vscode/launch.json index 9b9d150d..97c9eba5 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,9 +7,9 @@ { "type": "node", "request": "launch", - "name": "Launch CLI", + "name": "Build & Launch CLI", "runtimeExecutable": "npm", - "runtimeArgs": ["run", "start"], + "runtimeArgs": ["run", "build-and-start"], "skipFiles": ["/**"], "cwd": "${workspaceFolder}", "console": "integratedTerminal", diff --git a/package.json b/package.json index ffbd7628..e5a14de5 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "auth": "npm run auth:npm && npm run auth:docker", "generate": "node scripts/generate-git-commit-info.js", "build": "node scripts/build.js", + "build-and-start": "npm run build && npm run start", "build:vscode": "node scripts/build_vscode_companion.js", "build:all": "npm run build && npm run build:sandbox && npm run build:vscode", "build:packages": "npm run build --workspaces",