Write output directly to stderr

This commit is contained in:
Cheng Zhao 2015-09-03 17:20:48 +09:00
parent 28e5258a96
commit f75458f78d
2 changed files with 4 additions and 3 deletions

View file

@ -15,11 +15,11 @@ ipc.on('message', function(event, arg) {
});
ipc.on('console.log', function(event, args) {
console.log.apply(console, args);
console.error.apply(console, args);
});
ipc.on('console.error', function(event, args) {
console.log.apply(console, args);
console.error.apply(console, args);
});
ipc.on('process.exit', function(event, code) {