this.messageService.show(Severity.Info,nls.localize('TaskSystem.activeSame','The task is already active and in watch mode. To terminate the task use `F1 > terminate task`'));
if(active.same){
if(active.background){
this.messageService.show(Severity.Info,nls.localize('TaskSystem.activeSame.background','The task is already active and in background mode. To terminate the task use `F1 > terminate task`'));
}else{
this.getTaskSystem().show(task,true);
// this.messageService.show(Severity.Info, nls.localize('TaskSystem.activeSame.noBackground', 'The task is already active. To terminate the task use `F1 > terminate task`'));
}
}else{
thrownewTaskError(Severity.Warning,nls.localize('TaskSystem.active','There is already a task running. Terminate it first before executing another task.'),TaskErrors.RunningTask);