[react-packager] Wait for haste map before accepting any requests

Summary:
D2319999 introduced a regression where we stopped waiting for the "build haste map" step to finish before we accept any requests. This makes sure that we block on that.

Need to unbreak with this, but will follow up with a test to catch this in the future.
This commit is contained in:
Amjad Masad 2015-08-19 15:15:48 -07:00
parent 2efc7eb35d
commit 866df6d37c
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class DependencyGraph {
this._fastfs.build() this._fastfs.build()
.then(() => { .then(() => {
const hasteActivity = Activity.startEvent('Building Haste Map'); const hasteActivity = Activity.startEvent('Building Haste Map');
this._buildHasteMap().then(() => Activity.endEvent(hasteActivity)); return this._buildHasteMap().then(() => Activity.endEvent(hasteActivity));
}), }),
this._buildAssetMap_DEPRECATED(), this._buildAssetMap_DEPRECATED(),
]); ]);