Skip to content

Instantly share code, notes, and snippets.

@mikebell

mikebell/gulpfile.js

Created Jan 14, 2016
Embed
What would you like to do?
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