From cb81dfd485787abbeed0d6573314690b7866900c Mon Sep 17 00:00:00 2001 From: Juanfran Date: Tue, 10 Jun 2014 12:23:36 +0200 Subject: [PATCH] improve scss-lint performance --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 01d72070..67155945 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -41,6 +41,7 @@ gulp.task('jade', function() { //Sass lint gulp.task('scss-lint', function() { gulp.src([paths.appStyles, '!/**/bourbon/**/*.scss']) + .pipe(cache('scsslint')) .pipe(scsslint({config: 'scsslint.yml'})) }); @@ -100,7 +101,7 @@ gulp.task('connect', function() { // Rerun the task when a file changes gulp.task('watch', function() { gulp.watch(paths.jade, ['jade']); - gulp.watch(paths.appStyles, ['scss-lint', 'sass', 'css', 'minifyCSS']); + gulp.watch(paths.appStyles, ['scss-lint', 'sass', 'css']); }); // The default task (called when you run `gulp` from cli)