Skip to content

Commit

Permalink
fix: cache (#14303)
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0s committed Feb 24, 2022
1 parent 9d31956 commit 7686fc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-register/src/worker/transform.js
Expand Up @@ -122,6 +122,7 @@ function cacheLookup(opts, filename) {
cached: null,
store(value) {
cache[cacheKey] = { value, mtime: fileMtime };
registerCache.setDirty();
return value;
},
};
Expand Down

0 comments on commit 7686fc0

Please sign in to comment.