Skip to content

Commit 781fdff

Browse files
1 parent 56932e3 commit 781fdff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/cssFiles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let classnamesFromFiles = [];
1717
*/
1818
const generateClassnamesListSync = (patterns, refreshRate = 5_000) => {
1919
const now = new Date().getTime();
20-
const files = fg.sync(patterns);
20+
const files = fg.sync(patterns, { suppressErrors: true });
2121
const newGlobs = previousGlobsResults.flat().join(',') != files.flat().join(',');
2222
const expired = lastUpdate === null || now - lastUpdate > refreshRate;
2323
if (newGlobs || expired) {

0 commit comments

Comments
 (0)