We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3594ddb commit 433d893Copy full SHA for 433d893
core/lib/changes_hunter.js
@@ -41,6 +41,7 @@ ChangesHunter.prototype = {
41
// Markup only is required for "View All" pages. It will get loaded later on.
42
// If any of these is missing, mark pattern for recompile
43
[renderedTemplatePath, markupOnlyPath].forEach(renderedFile =>
44
+
45
// Prevent error message if file does not exist
46
fs.accessSync(renderedFile, fs.F_OK)
47
);
@@ -88,12 +89,12 @@ ChangesHunter.prototype = {
88
89
}
90
},
91
- needsRebuild: function(lastModified, p) {
92
+ needsRebuild: function (lastModified, p) {
93
if (p.compileState !== CompileState.CLEAN || ! p.lastModified) {
94
return true;
95
96
return p.lastModified >= lastModified;
97
98
};
99
-module.exports = ChangesHunter;
100
+module.exports = ChangesHunter;
0 commit comments