mirror of https://github.com/embarklabs/embark.git
log message after connecting in case of disconnect
This commit is contained in:
parent
777b0ff1e5
commit
feea4c27fc
|
@ -52,9 +52,11 @@ const parseResponse = function (ipc, resBody) {
|
|||
if (ipc.connected && !ipc.connecting) {
|
||||
ipc.request('log', commList[receipts[jsonO.id]]);
|
||||
} else {
|
||||
const message = commList[receipts[jsonO.id]];
|
||||
ipc.connecting = true;
|
||||
ipc.connect(() => {
|
||||
ipc.connecting = false;
|
||||
ipc.request('log', message);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue