Watch mode optimizations
Open
- Dominant language
- TypeScript
- Stars
- 6.4k
- Forks
- 128
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
- No need to re-analyze or re-create watchers unless a package.json file has changed (and watchers only need to be re-created if a `files` array changed, and even then only the affected ones do).
- We can share the `CachingPackageJsonReader` instance across analysis. File change events tell us when a cached result is stale.
- We can cache glob results in memory. File change events tell us when a cached result is stale.
- We can cache file hashes in memory. File change events tell us when a cached result is stale.
Contributor guide
Assessment
This issue has not been assessed yet.