Skip to content

Instantly share code, notes, and snippets.

@mikebell
Created January 14, 2016 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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