mirror of https://github.com/status-im/metro.git
packager: node-haste: remove getHasteMap()
Reviewed By: davidaurelio Differential Revision: D4597906 fbshipit-source-id: 4e239d0278fd79a8c60944b71e127e5a335b066f
This commit is contained in:
parent
ee705f2352
commit
a826db50a8
|
@ -257,10 +257,6 @@ class Server {
|
||||||
'change',
|
'change',
|
||||||
({eventsQueue}) => eventsQueue.forEach(processFileChange),
|
({eventsQueue}) => eventsQueue.forEach(processFileChange),
|
||||||
);
|
);
|
||||||
dependencyGraph.getHasteMap().on('change', () => {
|
|
||||||
debug('Clearing bundle cache due to haste map change');
|
|
||||||
this._clearBundles();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this._debouncedFileChangeHandler = debounceAndBatch(filePaths => {
|
this._debouncedFileChangeHandler = debounceAndBatch(filePaths => {
|
||||||
|
|
|
@ -325,10 +325,6 @@ class DependencyGraph extends EventEmitter {
|
||||||
return this._moduleCache.createPolyfill(options);
|
return this._moduleCache.createPolyfill(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
getHasteMap() {
|
|
||||||
return this._hasteMap;
|
|
||||||
}
|
|
||||||
|
|
||||||
static Cache;
|
static Cache;
|
||||||
static Module;
|
static Module;
|
||||||
static Polyfill;
|
static Polyfill;
|
||||||
|
|
Loading…
Reference in New Issue