Skip to content

Instantly share code, notes, and snippets.

@mikebell
Created January 14, 2016 13:36
Show Gist options
  • Save mikebell/ff05a191e488af0d5ad6 to your computer and use it in GitHub Desktop.
Save mikebell/ff05a191e488af0d5ad6 to your computer and use it in GitHub Desktop.
gulp.task('sass', function() {
gulp.src('./sass/*.scss')
.pipe(sourcemaps.init())
.pipe(sass())
.pipe(sourcemaps.write())
.pipe(gulp.dest('./css'));
});
gulp.task('sass:watch', function () {
gulp.watch('./sass/*.scss', ['sass']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment