silverstripe-blog/gulpfile.js

18 lines
400 B
JavaScript
Raw Normal View History

2016-06-02 06:00:28 +02:00
var sass = require("gulp-sass");
var gulp = require("gulp");
var watch = require('gulp-watch');
gulp.task("scss", function () {
gulp.src("./scss/*.scss")
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest("./css"));
});
2017-09-13 23:55:09 +02:00
gulp.task('watch', ['scss'], function () {
2016-06-02 06:00:28 +02:00
gulp.watch('./scss/*.scss', ['scss']);
});
2017-09-13 23:55:09 +02:00
gulp.task('default', ['scss'], function () {
2016-06-02 06:00:28 +02:00
// noop
});