Skip to content

Instantly share code, notes, and snippets.

@floatdrop
Created April 27, 2014 12:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floatdrop/11344836 to your computer and use it in GitHub Desktop.
Save floatdrop/11344836 to your computer and use it in GitHub Desktop.
var onError = function (err) {
gutil.beep();
console.log(err);
};
gulp.task('styles', function () {
gulp.src('scss/style.scss')
.pipe(plumber(onError)
.pipe(rubysass())
.pipe(gulp.dest('dist/'));
});
@germ13
Copy link

germ13 commented Sep 25, 2015

Line 8: missing closing parenthesis
Should read: gulp.src('scss/style.scss'))

Linked here from How to Handle Gulp Watch Errors with Plumber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment