gulp-prettyerror

2.0.0 • Public • Published

GULP-PrettyError

Display Errors in a pretty way, without breaking watching tasks

$ yarn add gulp-prettyerror

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 gulplog and ansi-colors

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!

Package Sidebar

Install

npm i gulp-prettyerror

Weekly Downloads

561

Version

2.0.0

License

MIT

Unpacked Size

6.95 kB

Total Files

6

Last publish

Collaborators

  • andidittrich