https://github.com/npkgz/gulp-prettyerror
:hash: Display Errors in a pretty way, without breaking watch tasks
https://github.com/npkgz/gulp-prettyerror
developer-tools error-handling error-messages error-reporting gulp gulp-plugin
Last synced: 11 months ago
JSON representation
:hash: Display Errors in a pretty way, without breaking watch tasks
- Host: GitHub
- URL: https://github.com/npkgz/gulp-prettyerror
- Owner: npkgz
- License: mit
- Created: 2016-03-14T13:29:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T02:45:54.000Z (over 3 years ago)
- Last Synced: 2024-10-31T00:51:37.343Z (over 1 year ago)
- Topics: developer-tools, error-handling, error-messages, error-reporting, gulp, gulp-plugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/gulp-prettyerror
- Size: 207 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
Awesome Lists containing this project
README
GULP-PrettyError
================
Display Errors in a pretty way, without breaking watching tasks
```bash
$ yarn add gulp-prettyerror
```

Features
--------
* **Simple**, **Robust** and **Easy** to use
* Displays task errors during development without breaking gulp-watch tasks
* Uses [gulp-plumber](https://www.npmjs.com/package/gulp-plumber) to override the standard error handling
* Output styling created with [gulplog](https://www.npmjs.com/package/gulplog) and [ansi-colors](https://www.npmjs.com/package/ansi-colors)
Usage
------
```js
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](https://github.com/AndiDittrich/gulp-prettyerror/issues)
License
-------
Gulp-PrettyError is OpenSource and licensed under the Terms of [The MIT License (X11)](http://opensource.org/licenses/MIT). You're welcome to [contribute](https://github.com/AndiDittrich/gulp-prettyerror/blob/master/CONTRIBUTE.md)!