diff --git a/CHANGELOG.md b/CHANGELOG.md index de968b2..99dffd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * **New** Added `.editorconfig` for development consistency * **New** Added linting and test for said linting * **Change** Updated the README +* **New** `logError` function to make streaming errors possible instead of breaking the stream ### 1.3.3 diff --git a/README.md b/README.md index 1da61e5..5867f90 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,14 @@ var sass = require('gulp-sass'); gulp.task('sass', function () { gulp.src('./scss/*.scss') - .pipe(sass().on('error', gutil.log)) + .pipe(sass().on('error', sass.logError)) .pipe(gulp.dest('./css')); }); ``` -Options passed as a hash into `sass()` will be passed along to [`node-sass`](https://github.com/sass/node-sass). +## Options + +Pass in options just like you would for [`node-sass`](https://github.com/sass/node-sass#options); they will be passed along just as if you were using `node-sass`. ## Source Maps