Skip to content

Commit

Permalink
Do not cache non-existent files forever (#11906)
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Aug 4, 2020
1 parent a4ebe29 commit c29138f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/babel-core/src/config/files/utils.js
Expand Up @@ -16,7 +16,6 @@ export function makeStaticFileCache<T>(
const cached = cache.invalidate(() => fileMtime(filepath));

if (cached === null) {
cache.forever();
return null;
}

Expand Down

0 comments on commit c29138f

Please sign in to comment.