mirror of https://github.com/embarklabs/embark.git
fix event
This commit is contained in:
parent
328d9c7c07
commit
211321a914
|
@ -103,12 +103,13 @@ class Server {
|
|||
wss.clients.forEach(function (client) {
|
||||
client.send('outputDone');
|
||||
});
|
||||
});
|
||||
|
||||
self.events.on('outputError', () => {
|
||||
wss.clients.forEach(function (client) {
|
||||
client.send('outputError');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
this.events.on('plugins:register:api', (apiCall) => {
|
||||
console.dir("adding " + apiCall.method + " " + apiCall.endpoint);
|
||||
|
|
Loading…
Reference in New Issue