Created
November 1, 2016 13:18
-
-
Save tjmonsi/b99e51d6aa32f8cf022f9979952ca1c8 to your computer and use it in GitHub Desktop.
Gulp file basic with Node 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 watch = require('gulp-watch'); | |
var injectSass = require('./gulp-tasks/inject-sass.js'); | |
/** | |
* Gulpfile parts. | |
* | |
* 1. SASS Strategy | |
*/ | |
/** | |
* SASS STRATEGY | |
*/ | |
gulp.task('watch-all', function(){ | |
injectSass(); | |
watch(['src/**/*.scss'], injectSass); | |
}); | |
gulp.task('injectSass', injectSass); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment