Reviewed By: davidaurelio

Differential Revision: D4746429

fbshipit-source-id: 1a49a4b6db75658749346f0fd94dad68ff084203
This commit is contained in:
Jean Lauliac 2017-03-21 11:32:14 -07:00 коммит произвёл Facebook Github Bot
Родитель 2b4762f184
Коммит 4797701b66
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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,