From 88945c48d4de861476605e585138a1ec5048ee0d Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Mon, 22 Feb 2016 18:29:26 -0800 Subject: [PATCH] [Build] Gracefully handle sass error https://github.com/nasa/openmctweb/issues/698 --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 53ce244f2c..317cbcf120 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -87,7 +87,7 @@ gulp.task('test', function (done) { gulp.task('stylesheets', function () { return gulp.src(paths.scss, {base: '.'}) - .pipe(sass(options.sass)) + .pipe(sass(options.sass).on('error', sass.logError)) .pipe(rename(function (file) { file.dirname = file.dirname.replace('/sass', '/css'); return file;