Use a prelaunch task to build demo on debug

This commit is contained in:
Daniel Imms
2017-03-31 03:27:26 -07:00
parent ba849e40e3
commit ed2bc6ddc9
3 changed files with 18 additions and 6 deletions

3
.vscode/launch.json vendored
View File

@@ -7,7 +7,8 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}/demo" ]
"args": ["--extensionDevelopmentPath=${workspaceRoot}/demo" ],
"preLaunchTask": "build"
}
]
}

14
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"version": "0.1.0",
"command": "npm",
"isShellCommand": true,
"showOutput": "always",
"suppressTaskName": true,
"tasks": [
{
"isBuildCommand": true,
"taskName": "build",
"args": ["start"]
}
]
}