gulp-exit

Terminates gulp task.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-exit
2110.0.29 years ago9 years agoMinified + gzip package size for gulp-exit in KB

Readme

gulp-exit
gulp-exit ensures that the task is terminated after finishing.
Some plugins, like gulp-mocha, have problems with a proper termination after finishing the task. This plugin guarantees that the task will exit successfully.

Example

var mocha = require('gulp-mocha'),
    exit = require('gulp-exit');

gulp.src('test.js')
  .pipe(mocha({
    reporter: 'dot',
    ui: 'bdd',
    growl: true,
    timeout: 2000,
    useColors: true,
    useInlineDiffs: true
  }))
  .pipe(exit());