Start gulp watch before launching the extension for debugging (#17943)

* Speed up launch extension for debugging

* Revert "Speed up launch extension for debugging"

This reverts commit 79c2b7e478.

* Doesn't unnecessarily build to launch ext.

* Clean up

* Watch and launch extension

* Replace pattern with base

* Remove unneeded quick-build gulp task
This commit is contained in:
Lewis Sanchez 2024-07-25 09:10:53 -07:00 коммит произвёл GitHub
Родитель 84d52c1fcc
Коммит 62294a9d86
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 26 добавлений и 2 удалений

4
.vscode/launch.json поставляемый
Просмотреть файл

@ -32,7 +32,7 @@
"outFiles": [
"${workspaceRoot}/out/src/**/*.js",
],
"preLaunchTask": "build",
"preLaunchTask": "watch",
"env": {
// Uncomment this to use a specified version of STS, see
// https://github.com/microsoft/vscode-mssql/blob/main/DEVELOPMENT.md#using-mssql_sqltoolsservice-environment-variable
@ -55,7 +55,7 @@
"outFiles": [
"${workspaceRoot}/out/src/**/*.js",
],
"preLaunchTask": "build",
"preLaunchTask": "watch",
"env": {
// Uncomment this to use a specified version of STS, see
// https://github.com/microsoft/vscode-mssql/blob/main/DEVELOPMENT.md#using-mssql_sqltoolsservice-environment-variable

24
.vscode/tasks.json поставляемый
Просмотреть файл

@ -21,6 +21,30 @@
"isDefault": false
}
},
{
"label": "watch",
"type": "gulp",
"task": "watch",
"isBackground": true,
"problemMatcher": [
"$lessCompile",
"$tsc",
"$jshint",
{
"owner": "custom",
"base": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": "Starting 'watch'...",
"endsPattern": "Starting 'watch-reactviews'...",
}
}
],
"group": {
"_id": "watch",
"isDefault": false
}
},
{
"type": "npm",
"script": "lint",