Skip to content

npkgz/gulp-prettyerror

Repository files navigation

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!