output sass errors in terminal and prevent gulp watch from exiting

This commit is contained in:
mr-winter 2016-02-05 14:26:35 +13:00 committed by Dave Cranwell
parent 7d90344dd6
commit c185e57347
3 changed files with 3 additions and 1 deletions

View file

@ -41,6 +41,7 @@ Changelog
* Fix: Logging in to the admin as a user with valid credentials but no admin access permission now displays an error message, rather than rejecting the user silently
* Fix: StreamBlock HTML rendering now handles non-ASCII characters correctly on Python 2 (Mikalai Radchuk)
* Fix: Fixed a bug preventing pages with a OneToOneField from being copied (Liam Brenner)
* Fix: SASS compilation errors during Wagtail development no longer cause exit of Gulp process, instead throws error to console and continues (Thomas Winter)
1.3.1 (05.01.2016)
~~~~~~~~~~~~~~~~~~

View file

@ -84,6 +84,7 @@ Bug fixes
* Logging in to the admin as a user with valid credentials but no admin access permission now displays an error message, rather than rejecting the user silently
* StreamBlock HTML rendering now handles non-ASCII characters correctly on Python 2 (Mikalai Radchuk)
* Fixed a bug preventing pages with a ``OneToOneField`` from being copied (Liam Brenner)
* SASS compilation errors during Wagtail development no longer cause exit of Gulp process, instead throws error to console and continues (Thomas Winter)
Upgrade considerations

View file

@ -31,7 +31,7 @@ gulp.task('styles:sass', function () {
errLogToConsole: true,
includePaths: includePaths,
outputStyle: 'expanded'
}))
}).on('error', sass.logError))
.pipe(autoprefixer({
browsers: ['last 3 versions', 'not ie <= 8'],
cascade: false