From 0c97e7ecb0cb42c9b5d2017bc31c95cee7f0aab7 Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 3 Dec 2015 10:20:31 +0800 Subject: [PATCH] update files --- bin/emulator.js | 1 - main.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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',