Skip to content

Instantly share code, notes, and snippets.

@isaacdanielanderson
Created February 25, 2018 17:35
Show Gist options
  • Save isaacdanielanderson/d262d5f54464ed1b7fb3b7f6274b778a to your computer and use it in GitHub Desktop.
Save isaacdanielanderson/d262d5f54464ed1b7fb3b7f6274b778a to your computer and use it in GitHub Desktop.
Super basic Gulp-Sass process
var gulp = require('gulp');
var sass = require('gulp-sass');
//style paths
var sassFiles = './sass/**/*.scss',
cssDest = './';
gulp.task('styles', function(){
gulp.src(sassFiles)
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest(cssDest));
});
gulp.task('watch',function() {
gulp.watch(sassFiles,['styles']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment