1. gulp-exit
Terminates gulp task.
gulp-exit
Package: gulp-exit
Created by: dreame4
Last modified: Sat, 18 Jun 2022 17:02:54 GMT
Version: 0.0.2
License: MIT
Downloads: 10,794
Repository: https://github.com/dreame4/gulp-exit

Install

npm install gulp-exit
yarn add gulp-exit

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());

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin