[Feature] Add JITI_FORCE
to ignore and rebuild the cache
#378
Labels
enhancement
New feature or request
8000
JITI_FORCE
to ignore and rebuild the cache
#378
Describe the feature
Currently, we have two options:
fsCache
enabled (default)fsCache
disabledBut in some scenarios (especially debugging, e.g., debugging output with different configs), we might want to clean the previous cache and rebuild it (if
fsCache
is enabled). It's pretty much like thevite --force
.Since adding
jiti clean
to just delete all the caches wouldn't be that necessary (mostly referenced: vitejs/vite#10986), I think addingJITI_FORCE
would be a lightweight solution.Additional information
The text was updated successfully, but these errors were encountered: