File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ ChangesHunter.prototype = {
4141 // Markup only is required for "View All" pages. It will get loaded later on.
4242 // If any of these is missing, mark pattern for recompile
4343 [ renderedTemplatePath , markupOnlyPath ] . forEach ( renderedFile =>
44+
4445 // Prevent error message if file does not exist
4546 fs . accessSync ( renderedFile , fs . F_OK )
4647 ) ;
@@ -88,12 +89,12 @@ ChangesHunter.prototype = {
8889 }
8990 } ,
9091
91- needsRebuild : function ( lastModified , p ) {
92+ needsRebuild : function ( lastModified , p ) {
9293 if ( p . compileState !== CompileState . CLEAN || ! p . lastModified ) {
9394 return true ;
9495 }
9596 return p . lastModified >= lastModified ;
9697 }
9798} ;
9899
99- module . exports = ChangesHunter ;
100+ module . exports = ChangesHunter ;
You can’t perform that action at this time.
0 commit comments