Permalink
Browse files

packager: clear cache

Reviewed By: davidaurelio

Differential Revision: D4746429

fbshipit-source-id: 1a49a4b6db75658749346f0fd94dad68ff084203
  • Loading branch information...
jeanlauliac authored and facebook-github-bot committed Mar 21, 2017
1 parent 2b4762f commit 4797701b66a1e1b6eef4f283703b4245de52e17b
Showing with 3 additions and 1 deletion.
  1. +3 −1 packager/src/node-haste/index.js
@@ -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,

0 comments on commit 4797701

Please sign in to comment.