mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Merge pull request #67148 from RomainMuller/master
Fix the "tsc watch" task when references are used
This commit is contained in:
@@ -198,7 +198,7 @@ class TscTaskProvider implements vscode.TaskProvider {
|
||||
project.workspaceFolder || vscode.TaskScope.Workspace,
|
||||
localize('buildAndWatchTscLabel', 'watch - {0}', label),
|
||||
'tsc',
|
||||
new vscode.ShellExecution(command, ['--watch', ...args]),
|
||||
new vscode.ShellExecution(command, [...args, '--watch']),
|
||||
'$tsc-watch');
|
||||
watchTask.group = vscode.TaskGroup.Build;
|
||||
watchTask.isBackground = true;
|
||||
@@ -274,4 +274,4 @@ export default class TypeScriptTaskProviderManager extends Disposable {
|
||||
this.taskProviderSub = vscode.workspace.registerTaskProvider('typescript', new TscTaskProvider(this.client));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user