未验证 提交 52fb9079 编写于 作者: M Matt Bierner 提交者: GitHub

Merge pull request #67148 from RomainMuller/master

Fix the "tsc watch" task when references are used
......@@ -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));
}
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册