react / react/metro

Reset cache independently

Open
#598 0 comments 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.