Skip to content

Commit

Permalink
Dont let watch task crash on Sass syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Raatikka committed Jun 13, 2014
1 parent ab99de1 commit d089729
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"gulp-livereload": "^2.0.0",
"gulp-load-plugins": "^0.5.0",<% if (includeSass) { if (includeBootstrap) { %>
"gulp-replace": "^0.3.0",<% } %>
"gulp-ruby-sass": "^0.5.0",<% } %>
"gulp-ruby-sass": "^0.5.0",
"gulp-plumber": "^0.6.3",<% } %>
"gulp-size": "^0.4.0",
"gulp-uglify": "^0.3.0",
"gulp-useref": "^0.4.2",
Expand Down
1 change: 1 addition & 0 deletions app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ var rimraf = require('rimraf');

gulp.task('styles', function () {<% if (includeSass) { %>
return gulp.src('app/styles/main.scss')
.pipe($.plumber())
.pipe($.rubySass({
style: 'expanded',
precision: 10
Expand Down

0 comments on commit d089729

Please sign in to comment.