finally fixed Segmentation error caused by readline in child process

This commit is contained in:
2016-08-20 09:09:03 +02:00
parent 58b6a9a328
commit 8dd5c97f3b
4 changed files with 6 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ export let stop = function () {
if (doAnimation) {
earlyChild.kill("SIGINT");
earlyChild.on("close", function () {
console.log(` in ${executionTime} seconds!`);
console.log(`loaded ${chalk.green(moduleName)} in ${executionTime} seconds!`);
done.resolve();
})
} else {