* 4. serialize the new `HasteMap` in a cache file.
(hasteMap: InternalHasteMap)
| 734 | * 4. serialize the new `HasteMap` in a cache file. |
| 735 | */ |
| 736 | private _persist(hasteMap: InternalHasteMap) { |
| 737 | writeFileSync(this._cachePath, serialize(hasteMap)); |
| 738 | } |
| 739 | |
| 740 | /** |
| 741 | * Creates workers or parses files and extracts metadata in-process. |