Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
remove gulp-notify and log errors to console
Browse files Browse the repository at this point in the history
TODO: find a better way to notify errors without breaking gulp stream
  • Loading branch information
tonifisler committed Apr 27, 2015
1 parent e7b4326 commit 367f52c
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions app/templates/tasks/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@ module.exports = function(gulp, $, config, argv) {
.pipe($.sass({
outputStyle: 'nested', // libsass doesn't support expanded yet
precision: 10,
includePaths: ['.']
}))
.on('error', $.notify.onError({
title: function(error) {
return error.message
},
message: function(error) {
return error.fileName + ':' + error.lineNumber
}
includePaths: ['.'],
errLogToConsole: true
}))
.pipe($.postcss([
require('autoprefixer-core')({
Expand All @@ -37,4 +30,4 @@ module.exports = function(gulp, $, config, argv) {
.pipe(gulp.dest(config.build + '/css'));
});

}
}

0 comments on commit 367f52c

Please sign in to comment.