src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/_reRunTaskCommand
class AbstractTaskService:	private _reRunTaskCommand(): void {
		if (!this._canRunCommand()) {
			return;
		}

		ProblemMatcherRegistry.onReady().then(() => {
			return this._editorService.saveAll({ reason: SaveReason.AUTO }).then(() => { // make sure all dirty editors are saved
				const executeResult = this._getTaskSystem().rerun();
				if (executeResult) {
					return this._handleExecuteResult(executeResult);
				} else {
					this._doRunTaskCommand();
					return Promise.resolve(undefined);
				}
			});
		});
	}