mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-02 17:03:36 +00:00
only reply to compile action
This commit is contained in:
parent
e96842f9da
commit
6e37c2d91b
@ -54,6 +54,10 @@ class SolcW {
|
||||
ipc.server.on(
|
||||
'message',
|
||||
function(data, socket) {
|
||||
if (data.action != 'compile') {
|
||||
return;
|
||||
}
|
||||
|
||||
self.compile(data.message, (result) => {
|
||||
ipc.server.emit(socket, 'message', {action: 'compilation', message: result});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user