diff --git a/packages/metro-bundler/src/node-haste/DependencyGraph/HasteMap.js b/packages/metro-bundler/src/node-haste/DependencyGraph/HasteMap.js index 0c42f289..c62aaeee 100644 --- a/packages/metro-bundler/src/node-haste/DependencyGraph/HasteMap.js +++ b/packages/metro-bundler/src/node-haste/DependencyGraph/HasteMap.js @@ -55,6 +55,10 @@ class HasteMap extends EventEmitter { return Promise.all(promises).then(() => this._map); } + getAllFiles(): Array { + return this._files; + } + processFileChange(type, absPath) { return Promise.resolve().then(() => { /*eslint no-labels: 0 */