Created
March 22, 2017 18:50
-
-
Save tonysaffo/76471dffca4ae4f068cc4ab1d7c95d8a to your computer and use it in GitHub Desktop.
Gulpfile.js
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'), | |
sass = require('gulp-sass'); | |
gulp.task('sass',function(){ | |
return gulp.src('app/sass/**/*.sass') | |
.pipe(sass()) | |
.pipe(gulp.dest('app/css')); | |
}); | |
gulp.task('watch',function(){ | |
gulp.watch('app/sass/**/*.sass', ['sass']); // через запятую в массиве все таски которые нужно выполнять при обновлении | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment