Skip to content

Instantly share code, notes, and snippets.

@tjmonsi
Created November 1, 2016 13:18
Show Gist options
  • Save tjmonsi/b99e51d6aa32f8cf022f9979952ca1c8 to your computer and use it in GitHub Desktop.
Save tjmonsi/b99e51d6aa32f8cf022f9979952ca1c8 to your computer and use it in GitHub Desktop.
Gulp file basic with Node SASS
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