-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache bust npm specifiers more aggressively #16901
Comments
We've talked about cache busting when someone uses a new npm specifier. Would that work in this scenario? |
If I understand correctly, if I'm using |
Yeah, in that scenario it would requery npm for the latest package information for everything (just package information and would not redownload package tarballs). |
#18622 should help a lot with this, but it doesn't fully solve the problem. |
…on not found (#18622) This reloads an npm package's dependency's information when a version/version req/tag is not found. This PR applies only to dependencies of npm packages. It does NOT yet cause npm specifiers to have their dependency information cache busted. That requires a different solution, but this should help cache bust in more scenarios. Part of #16901, but doesn't close it yet
Part 1: #18622 Part 2: This PR Closes #16901 --------- Co-authored-by: Luca Casonato <[email protected]>
…on not found (#18622) This reloads an npm package's dependency's information when a version/version req/tag is not found. This PR applies only to dependencies of npm packages. It does NOT yet cause npm specifiers to have their dependency information cache busted. That requires a different solution, but this should help cache bust in more scenarios. Part of #16901, but doesn't close it yet
Part 1: #18622 Part 2: This PR Closes #16901 --------- Co-authored-by: Luca Casonato <[email protected]>
Everytime I want to update any NPM package to the latest version, I get the following error:
Is there any way to update it without need to add the
--reload
flag? It's very unconvenient for Lume users.The text was updated successfully, but these errors were encountered: