diff --git a/code/src/vs/server/node/che/remoteTerminalMachineExecChannel.ts b/code/src/vs/server/node/che/remoteTerminalMachineExecChannel.ts index b18ccbf8ab6..1d581f2fe66 100644 --- a/code/src/vs/server/node/che/remoteTerminalMachineExecChannel.ts +++ b/code/src/vs/server/node/che/remoteTerminalMachineExecChannel.ts @@ -244,6 +244,8 @@ export class RemoteTerminalMachineExecChannel implements IServerChannel { - this.onProcessData.fire({ id: message.id, event: data.toString() }); - }); + // redirect everything to the client + wsTerminal.on('message', (data: WS.Data) => { + this.onProcessData.fire({ id: message.id, event: data.toString() }); + }); + } } catch (e) { console.error('Unable to parse result', e); }