Index: gulpfile.js |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/gulpfile.js |
@@ -0,0 +1,14 @@ |
+var gulp = require('gulp'); |
+var sass = require('gulp-sass'); |
+ |
+gulp.task('sass', function () { |
+ gulp.src('./scss/main.scss') |
+ .pipe(sass().on('error', sass.logError)) |
+ .pipe(gulp.dest('./css')); |
+}); |
+ |
+gulp.task('watch', function () { |
+ gulp.watch('./scss/*.scss', ['sass']); |
+}); |
+ |
+gulp.task('default', ['sass', 'watch']); |