Created
November 30, 2016 10:27
-
-
Save gmann1982/7dac854ace898dd828ffaff2daf9e90a to your computer and use it in GitHub Desktop.
gulpfile
This file contains hidden or 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
'use strict'; | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
gulp.task('sass', function () { | |
return gulp.src('./styles/bootstrap.scss') | |
.pipe(sass().on('error', sass.logError)) | |
.pipe(gulp.dest('./public/css')); | |
}); | |
gulp.task('sass:watch', function () { | |
gulp.watch('./styles/**/*.scss', ['sass']); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment