Skip to content

Instantly share code, notes, and snippets.

@ewistrand
Created March 3, 2016 14:25
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 ewistrand/eeeeef6e78fd9df32512 to your computer and use it in GitHub Desktop.
Save ewistrand/eeeeef6e78fd9df32512 to your computer and use it in GitHub Desktop.
Underscores Gulp File for Sass
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('styles', function() {
gulp.src('sass/**/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./'));
});
//Watch task
gulp.task('default',function() {
gulp.watch('sass/**/*.scss',['styles']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment