summaryrefslogtreecommitdiffhomepage
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 79e80ed..5ec8951 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -10,11 +10,6 @@ var config = {
pugPath: './resources/pug'
}
-function watch() {
- gulp.watch(config.sassPath + '/**/*.scss', ['css']);
- gulp.watch(config.pugPath + '/**/*.pug', ['pug']);
-}
-
function css() {
return gulp.src(config.sassPath + '/style.scss')
.pipe(sass({
@@ -54,6 +49,11 @@ function fonts() {
.pipe(gulp.dest('./build/assets/fonts'));
}
+function watch() {
+ gulp.watch(config.sassPath + '/**/*.scss', css);
+ gulp.watch(config.pugPath + '/**/*.pug', html);
+}
+
exports.css = css;
exports.html = html;
exports.img = img;