Created
February 26, 2015 12:29
-
-
Save lotsofcode/eb8408859a43536f0882 to your computer and use it in GitHub Desktop.
simple gulp sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
gulp.task('watch', ['sass'], function() { | |
gulp.watch(['scss/*.scss'], ['sass']); | |
}); | |
gulp.task('sass', function() { | |
gulp.src('scss/*.scss') | |
.pipe(sass()) | |
.pipe(gulp.dest('css/')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment