diff --git a/bin/emulator.js b/bin/emulator.js index 77d94f1..41c9402 100644 --- a/bin/emulator.js +++ b/bin/emulator.js @@ -70,4 +70,3 @@ function normalizeExecArgs(command, options){ } module.exports = Emulator; - diff --git a/main.js b/main.js index 567011e..276ee1c 100644 --- a/main.js +++ b/main.js @@ -116,7 +116,7 @@ if (cluster.isMaster) { }); }); - stream.stderr.on('error', function (error){ + stream.stderr.on('data', function (error){ emulator.stop(); process.send({ event: 'error',