Skip to content

Commit

Permalink
fix(doc.build/autoprefixer): update mtime for onlyChanged plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
iam4x committed Jun 7, 2017
1 parent 341e6f3 commit 3b83e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docgen/plugins/autoprefixer.js
Expand Up @@ -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();
Expand Down

0 comments on commit 3b83e58

Please sign in to comment.