mirror of https://github.com/status-im/metro.git
packager: make DependencyGraph.processFileChange private
Reviewed By: davidaurelio Differential Revision: D4635645 fbshipit-source-id: baf3ec75927dfa2d1b29d6548a13453370f434ba
This commit is contained in:
parent
6e71c2e30a
commit
52580cb4c7
|
@ -160,7 +160,7 @@ class DependencyGraph extends EventEmitter {
|
||||||
this._hasteFS = event.hasteFS;
|
this._hasteFS = event.hasteFS;
|
||||||
this._moduleMap = event.moduleMap;
|
this._moduleMap = event.moduleMap;
|
||||||
event.eventsQueue.forEach(({type, filePath, stat}) =>
|
event.eventsQueue.forEach(({type, filePath, stat}) =>
|
||||||
this.processFileChange(type, filePath, stat)
|
this._onFileChange(type, filePath, stat)
|
||||||
);
|
);
|
||||||
this.emit('change');
|
this.emit('change');
|
||||||
});
|
});
|
||||||
|
@ -293,7 +293,7 @@ class DependencyGraph extends EventEmitter {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
processFileChange(type: string, filePath: string, stat: Object) {
|
_onFileChange(type: string, filePath: string, stat: Object) {
|
||||||
this._moduleCache.processFileChange(type, filePath, stat);
|
this._moduleCache.processFileChange(type, filePath, stat);
|
||||||
|
|
||||||
// This code reports failures but doesn't block recovery in the dev server
|
// This code reports failures but doesn't block recovery in the dev server
|
||||||
|
|
Loading…
Reference in New Issue