Skip to content

Commit

Permalink
gulp test hangs - sindresorhus/gulp-mocha#54
Browse files Browse the repository at this point in the history
  • Loading branch information
Case Nelson committed Oct 3, 2016
1 parent 708b66c commit df29249
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ if ( process.env.NODE_ENV !== 'production' ) {
tldr = require('mocha-tldr-reporter')
}

gulp.doneCallback = function (err) {
process.exit(err ? 1 : 0);
};

gulp.task( 'default', [ 'checkstyle', 'test', 'watch' ] )

gulp.task( 'test', function() {
Expand Down

0 comments on commit df29249

Please sign in to comment.