[snap] Fix snap ignored paths
Mofei Zhang committed
Jun 8, 2023 at 14:32 UTC
166f47a41e1396fcedf1eb7d324a30d414fc99f8
1 file changed
+1
-1
compiler/forget/packages/snap/src/compiler-worker.ts
+1
-1
@@ -13,7 +13,7 @@ const originalConsoleError = console.error;
13
// Try to avoid clearing the entire require cache, which (as of this PR)
14
// contains ~1250 files. This assumes that no dependencies have global caches
15
// that may need to be invalidated across Forget reloads.
16
-const invalidationSubpath = "react-forget/forget/dist";
16
+const invalidationSubpath = "packages/babel-plugin-react-forget/dist";
17
let version: number | null = null;
18
export function clearRequireCache() {
19
Object.keys(require.cache).forEach(function (path) {