Skip to content

Commit 6704e1b

Browse files
committed
Update README.md to clarify cache invalidation conditions.
1 parent 358f412 commit 6704e1b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ When you run the diff, it will:
100100

101101
The gem caches the generated Rails application to avoid regenerating it on every run. The cache is automatically invalidated when:
102102
- Rails has new commits on main
103-
- The cache directory doesn't exist
103+
- The cache directory doesn't exist (or is cleared with the `--clear-cache` option)
104+
- You use `--new-app-options` with different options
105+
- You change your `~/.railsrc` file
106+
- You use `--commit` with a different commit
104107

105108
You can also force clear the cache by using the `--no-cache` option (or its alias `--clear-cache`) with any command.
106109

0 commit comments

Comments
 (0)