提交 790328e0 编写于 作者: I isidor

fixes #4105

上级 be4c7a1d
...@@ -649,9 +649,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService ...@@ -649,9 +649,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
}); });
if (filteredTasks[0].isWatching) { if (filteredTasks[0].isWatching) {
return new TPromise((c, e) => { return new TPromise((c, e) => this.taskService.addOneTimeListener(TaskServiceEvents.Inactive, () => c(null)));
this.taskService.addOneTimeListener(TaskServiceEvents.Inactive, () => c(taskPromise));
});
} }
return taskPromise; return taskPromise;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册