Skip to content

Commit

Permalink
feat: colorize some outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannmoinet committed Feb 23, 2016
1 parent cc09a26 commit 2abfa05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function exitHandler (options, err) {
}

if (err) {
console.log(err.stack);
console.log(chalk.bgRed(' -[ ERROR ]- '), err);
}

if (options.exit) {
Expand Down
2 changes: 1 addition & 1 deletion src/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Runner.prototype.bindChild = function bindChild (child) {
child.on('close', this.end.bind(this));

child.stdout.on('data', function (data) {
console.log(data.toString());
console.log(chalk.blue(' -[ child ]- '), data.toString());
});

child.stderr.on('data', function (data) {
Expand Down

0 comments on commit 2abfa05

Please sign in to comment.