From 3b83e58fa5176989a357d626cc553e0cc192cecf Mon Sep 17 00:00:00 2001 From: iam4x Date: Wed, 7 Jun 2017 12:11:46 +0200 Subject: [PATCH] fix(doc.build/autoprefixer): update mtime for onlyChanged plugin --- docgen/plugins/autoprefixer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docgen/plugins/autoprefixer.js b/docgen/plugins/autoprefixer.js index ee01edca23..89ff59e13f 100644 --- a/docgen/plugins/autoprefixer.js +++ b/docgen/plugins/autoprefixer.js @@ -11,6 +11,7 @@ export default function sassAutoprefixer(files, metalsmith, done) { const originalContent = files[file].contents.toString(); const autoprefixedContent = processor.process(originalContent, {syntax}).css; files[file].contents = new Buffer(autoprefixedContent); + files[file].stats.mtime = (new Date()).toISOString(); }); done();