packager: clear cache
Reviewed By: davidaurelio Differential Revision: D4746429 fbshipit-source-id: 1a49a4b6db75658749346f0fd94dad68ff084203
This commit is contained in:
parent
2b4762f184
commit
4797701b66
|
@ -71,6 +71,8 @@ type Options = {
|
|||
watch: boolean,
|
||||
};
|
||||
|
||||
const JEST_HASTE_MAP_CACHE_BREAKER = 1;
|
||||
|
||||
class DependencyGraph extends EventEmitter {
|
||||
|
||||
_opts: Options;
|
||||
|
@ -104,7 +106,7 @@ class DependencyGraph extends EventEmitter {
|
|||
ignorePattern: {test: opts.ignoreFilePath},
|
||||
maxWorkers: opts.maxWorkerCount,
|
||||
mocksPattern: '',
|
||||
name: 'react-native-packager',
|
||||
name: 'react-native-packager-' + JEST_HASTE_MAP_CACHE_BREAKER,
|
||||
platforms: Array.from(opts.platforms),
|
||||
providesModuleNodeModules: opts.providesModuleNodeModules,
|
||||
resetCache: opts.resetCache,
|
||||
|
|
Loading…
Reference in New Issue