mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
use affectsConfiguration for tasks (#170989)
This commit is contained in:
parent
85e992bffa
commit
6c06876a83
|
@ -284,8 +284,8 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
|
|||
this._updateSetup(folderSetup);
|
||||
return this._updateWorkspaceTasks(TaskRunSource.FolderOpen);
|
||||
}));
|
||||
this._register(this._configurationService.onDidChangeConfiguration(() => {
|
||||
if (!this._taskSystem && !this._workspaceTasksPromise) {
|
||||
this._register(this._configurationService.onDidChangeConfiguration((e) => {
|
||||
if (!e.affectsConfiguration('tasks') || (!this._taskSystem && !this._workspaceTasksPromise)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue