packager: node-haste: remove getHasteMap()

Reviewed By: davidaurelio

Differential Revision: D4597906

fbshipit-source-id: 4e239d0278fd79a8c60944b71e127e5a335b066f
This commit is contained in:
Jean Lauliac 2017-03-06 06:37:55 -08:00 committed by Facebook Github Bot
parent ee705f2352
commit a826db50a8
2 changed files with 0 additions and 8 deletions

View File

@ -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 => {

View File

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