Skip to content

Commit

Permalink
fix: missing reset cache flag (#714)
Browse files Browse the repository at this point in the history
* fix: keep --reset-cache for compat

* chore: add changeset
  • Loading branch information
jbroma authored Aug 26, 2024
1 parent bdfcc9c commit bad76d7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-dodos-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@callstack/repack': patch
---

Fix missing `--reset-cache` flag for both start and bundle CLI commands
8 changes: 8 additions & 0 deletions packages/repack/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ const startCommandOptions = [
description:
'[Experimental] Enable the new debugger experience. Connection reliability and some basic features are unstable in this release.',
},
// noop, but kept for compatibility
{
name: '--reset-cache, --resetCache',
},
// options specific to Re.Pack
{
name: '--json',
Expand Down Expand Up @@ -147,6 +151,10 @@ const bundleCommandOptions = [
description:
'Directory name where to store assets referenced in the bundle',
},
// noop, but kept for compatibility
{
name: '--reset-cache',
},
// options specific to Re.Pack
{
name: '--json <statsFile>',
Expand Down

0 comments on commit bad76d7

Please sign in to comment.