From e057b5d8161eb82c7af27851ab3e1a6d536beda0 Mon Sep 17 00:00:00 2001 From: Alexander Surma Date: Fri, 20 Mar 2015 15:36:16 +0000 Subject: [PATCH] Dont use gulp-changed on SASS --- gulpfile.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 2c23203e..77e66b11 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -81,9 +81,8 @@ gulp.task('fonts', function () { // Compile and Automatically Prefix Stylesheets (dev) gulp.task('styles:dev', ['fonts'], function () { return gulp.src([ - 'src/**/**/*.scss' + 'src/**/*.scss' ]) - .pipe($.changed('.tmp/styles', {extension: '.css'})) .pipe($.sass({ precision: 10, onError: console.error.bind(console, 'Sass error:') @@ -204,8 +203,8 @@ gulp.task('serve', ['styles:dev'], function () { server: ['.tmp', 'src', '.tmp/styles'] }); - gulp.watch(['src/**/**/**/*.html'], reload); - gulp.watch(['src/**/**/*.{scss,css}'], ['styles:dev', reload]); + gulp.watch(['src/**/*.html'], reload); + gulp.watch(['src/**/*.{scss,css}'], ['styles:dev', reload]); gulp.watch(['src/**/*.js'], ['jshint']); });