workers-sdk
workers-sdk copied to clipboard
🚀 Feature Request: keep json files in `node_modules/.cache/wrangler` at another location
Describe the solution
Right now, the cached files like node_modules/.cache/wrangler/pages.json is used for tracking project selections. But whenever I do npm ci, the cached files get deleted, thus prompting me to select the project again.
Can you keep the cache at a different location? Like I see there's a directory .wrangler. What is that directory for? Can it be used for cache instead?
@harryzcy thank you for submitting this feature request. I believe this should match up with the current Workers experience, which does store temporary files in .wrangler. We have a handful of other cache-related items and should be able to fix this as part of that work.