From 6754f39c4e230df882935e1332ba365323f0e5af Mon Sep 17 00:00:00 2001 From: Sam Richard Date: Tue, 24 Mar 2015 07:33:23 -0500 Subject: [PATCH] Updated Changelog/Readme --- CHANGELOG.md | 1 + README.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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