Skip to content

Instantly share code, notes, and snippets.

@lotsofcode
Created February 26, 2015 12:29
Show Gist options
  • Save lotsofcode/eb8408859a43536f0882 to your computer and use it in GitHub Desktop.
Save lotsofcode/eb8408859a43536f0882 to your computer and use it in GitHub Desktop.
simple gulp sass
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