We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e2dd7 commit 7cd1e2eCopy full SHA for 7cd1e2e
src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
@@ -3118,6 +3118,11 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
3118
3119
const activeTasks = await this.getActiveTasks();
3120
3121
+ if (activeTasks.length === 1) {
3122
+ this._restart(activeTasks[0]);
3123
+ return;
3124
+ }
3125
+
3126
if (this.inTerminal()) {
3127
// try dispatching using task identifier
3128
const identifier = this._getTaskIdentifier(arg);
0 commit comments