Reset cache independently
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 696
- Avg merge
- 8m
- Merged PRs (30d)
- 7
Description
Do you want to request a feature or report a bug?
Feature.
What is the current behavior?
Metro’s cache can only be reset by running build or serve with the --reset-cache option or by setting resetCache in the configuration.
What is the expected behavior?
Metro’s cache can be reset independently, for example, by running metro reset-cache.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing build and serve entry points and their --reset-cache handling, then compare it with the resetCache configuration option. The work is done when metro reset-cache clears the cache independently without requiring a build or serve command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100