Move live log checking logic to ProcessLogService

This commit is contained in:
Kristóf Tóth
2018-05-30 11:14:48 +02:00
parent fc10db6cac
commit c889de0b05
5 changed files with 17 additions and 13 deletions

View File

@ -63,7 +63,7 @@ export class IdeComponent implements OnInit {
language: string = config.ide.defaultLanguage;
theme = 'cobalt';
@Output() newLog = new EventEmitter<any>();
@Output() newLogs = new EventEmitter<any>();
options: any = {enableBasicAutocompletion: true,
enableSnippets: true,
@ -101,7 +101,7 @@ export class IdeComponent implements OnInit {
config.ide.deployProcessName,
(event) => {
this.deploymentNotificationService.deploying.next(false);
this.newLog.emit({
this.newLogs.emit({
stdout: event.data.stdout,
stderr: event.data.stderr
});