mirror of https://github.com/status-im/metro.git
[react-packager] Integration test for `runServerHere.sh`
This commit is contained in:
parent
06eb63b54d
commit
2330fa6bce
|
@ -79,7 +79,8 @@ class DependencyGraph {
|
||||||
return this._loading;
|
return this._loading;
|
||||||
}
|
}
|
||||||
|
|
||||||
const crawlActivity = Activity.startEvent('fs crawl');
|
const depGraphActivity = Activity.startEvent('Building Dependency Graph');
|
||||||
|
const crawlActivity = Activity.startEvent('Crawling File System');
|
||||||
const allRoots = this._opts.roots.concat(this._opts.assetRoots_DEPRECATED);
|
const allRoots = this._opts.roots.concat(this._opts.assetRoots_DEPRECATED);
|
||||||
this._crawling = crawl(allRoots, {
|
this._crawling = crawl(allRoots, {
|
||||||
ignore: this._opts.ignoreFilePath,
|
ignore: this._opts.ignoreFilePath,
|
||||||
|
@ -104,7 +105,9 @@ class DependencyGraph {
|
||||||
return this._buildHasteMap().then(() => Activity.endEvent(hasteActivity));
|
return this._buildHasteMap().then(() => Activity.endEvent(hasteActivity));
|
||||||
}),
|
}),
|
||||||
this._buildAssetMap_DEPRECATED(),
|
this._buildAssetMap_DEPRECATED(),
|
||||||
]);
|
]).then(() =>
|
||||||
|
Activity.endEvent(depGraphActivity)
|
||||||
|
);
|
||||||
|
|
||||||
return this._loading;
|
return this._loading;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue