We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01590ff commit a8314b8Copy full SHA for a8314b8
bin/vows
@@ -306,13 +306,11 @@ if (! options.watch) {
306
} catch (err) {
307
// ignore the undefined jscoverage
308
}
309
- if (process.stdout.write('')) { // Check if stdout is drained
310
- process.exit(status);
311
- } else {
312
- process.stdout.on('drain', function () {
+ process.on('exit', function (code) {
+ if (code === 0) {
313
process.exit(status);
314
- });
315
- }
+ }
+ });
316
});
317
} else {
318
//
0 commit comments