From dfcaa30f262b73be88c624347f3ff5cf44a61fdc Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Tue, 16 Jan 2018 10:17:11 -0800 Subject: [PATCH] metro: break jest-haste-map cache Reviewed By: cpojer, mjesun Differential Revision: D6728279 fbshipit-source-id: ef26c6a295626adb6ff6272b308110fd00b096e2 --- packages/metro/src/node-haste/DependencyGraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/metro/src/node-haste/DependencyGraph.js b/packages/metro/src/node-haste/DependencyGraph.js index 9850514d..52cb72c7 100644 --- a/packages/metro/src/node-haste/DependencyGraph.js +++ b/packages/metro/src/node-haste/DependencyGraph.js @@ -66,7 +66,7 @@ type Options = {| +watch: boolean, |}; -const JEST_HASTE_MAP_CACHE_BREAKER = 1; +const JEST_HASTE_MAP_CACHE_BREAKER = 2; class DependencyGraph extends EventEmitter { _assetResolutionCache: AssetResolutionCache;