From 1df4f1e00d1cfcb79eeedf4bdf10f91e09b142b3 Mon Sep 17 00:00:00 2001 From: Matthew Schranz Date: Wed, 25 Mar 2015 17:01:29 -0400 Subject: [PATCH] fix(build): Prevent silent errors from LESS. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 7b0c96e78..b8247f74b 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -173,7 +173,7 @@ gulp.task('styles', function () { return gulp.src('app/styles/app.less') .pipe($.changed('styles', {extension: '.less'})) - .pipe($.less()) + .pipe($.less().on('error', $.util.log)) .pipe($.autoprefixer({browsers: AUTOPREFIXER_BROWSERS})) .pipe($.concat(f)) //.pipe($.if(production, $.csso()))