‼️ Display Errors in a pretty way, without breaking watch tasks
JavaScript Shell
Permalink
Failed to load latest commit information.
test
.gitignore
CHANGES.md
CONTRIBUTE.md
LICENSE.md
README.md
gulp-prettyerror.js
package.json
screenshot1.jpg

README.md

GULP-PrettyError

Display Errors in a pretty way, without breaking watching tasks

$ npm install gulp-prettyerror --save-dev

Screenshot

Features

  • Simple, Robust and Easy to use
  • Displays task errors during development without breaking gulp-watch tasks
  • Uses gulp-plumber to override the standard error handling
  • Output styling created with gulp-util and chalk

Usage

var prettyError = require('gulp-prettyerror');

// default release build
gulp.task('js', function (){
    return gulp.src(['Source/Lib/**/*.js')
        // add task error-handler
        .pipe(prettyError())

        // create sourcemaps for development
        .pipe(sourcemaps.init())

        // some stuff
        .pipe(...);
});

Any Questions ? Report a Bug ? Enhancements ?

Please open a new issue on GitHub

License

Gulp-PrettyError is OpenSource and licensed under the Terms of The MIT License (X11). You're welcome to contribute!