mirror of https://github.com/embarklabs/embark.git
fix event
This commit is contained in:
parent
328d9c7c07
commit
211321a914
|
@ -103,10 +103,11 @@ class Server {
|
|||
wss.clients.forEach(function (client) {
|
||||
client.send('outputDone');
|
||||
});
|
||||
self.events.on('outputError', () => {
|
||||
wss.clients.forEach(function (client) {
|
||||
client.send('outputError');
|
||||
});
|
||||
});
|
||||
|
||||
self.events.on('outputError', () => {
|
||||
wss.clients.forEach(function (client) {
|
||||
client.send('outputError');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue