From 27cc623c53f85933612e5063cfe05daeb574c479 Mon Sep 17 00:00:00 2001 From: Austin Pray Date: Mon, 23 Feb 2015 16:37:42 -0600 Subject: [PATCH] Only save a wiredepped file if Sha1 differs fixes https://github.com/roots/roots/issues/1340 --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 55aa50e..fb3c043 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -234,7 +234,9 @@ gulp.task('wiredep', function() { var wiredep = require('wiredep').stream; return gulp.src(project.css) .pipe(wiredep()) - .pipe($.changed(path.source + 'styles')) + .pipe($.changed(path.source + 'styles', { + hasChanged: $.changed.compareSha1Digest + })) .pipe(gulp.dest(path.source + 'styles')); });