Comparing version 0.1.3 to 0.1.4
@@ -14,2 +14,3 @@ var sty = require('sty'); | ||
this._started = null; | ||
this._succinct = options.runner._options.succinct; | ||
@@ -35,6 +36,8 @@ this._runner.on('start', this._start.bind(this)); | ||
console.log(sty.yellow('\n' + 'node ' + file + '\n' + helper.strRepeat('=', file.length + 5))); | ||
output.forEach(function(line){ // Write each line from the child process | ||
console.log(sty.bold(line.data)); | ||
}); | ||
if(!this._succinct) { | ||
console.log(sty.yellow('\n' + 'node ' + file + '\n' + helper.strRepeat('=', file.length + 5))); | ||
output.forEach(function(line){ // Write each line from the child process | ||
console.log(sty.bold(line.data)); | ||
}); | ||
} | ||
} else { | ||
@@ -41,0 +44,0 @@ this._passed++; |
@@ -21,3 +21,4 @@ var async = require('async'); | ||
listFiles: options.listFiles || false, | ||
progressBar: (options.progressBar == false) ? false : true | ||
progressBar: (options.progressBar == false) ? false : true, | ||
succinct: (options.succinct == true) ? true : false | ||
} | ||
@@ -24,0 +25,0 @@ this._stats = { |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"dependencies": { | ||
@@ -12,0 +12,0 @@ "async": "0.2.9", |
@@ -54,2 +54,3 @@ #antr | ||
* **progressBar** Option to display a progress bar - defaults to `true` | ||
* **succinct** Option to limit the amount of output on stdout/stderr - defaults to `false` | ||
@@ -56,0 +57,0 @@ ## npm Maintainers |
16307
431
62