-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
✨ Optimized dependencies changed. reloading (PNPM) #29381
Copy link
Copy link
Closed
Labels
Description
Environment
- Operating System: Windows_NT
- Node Version: v20.18.0
- Nuxt Version: 3.13.2
- CLI Version: 3.14.0
- Nitro Version: 2.9.7
- Package Manager: npm@10.8.2
- Builder: -
- User Config: -
- Runtime Modules: -
- Build Modules: -
Reproduction
https://stackblitz.com/edit/github-ggbr86?file=nuxt.config.ts
Describe the bug
While using primevue + vee-validate,
PNPM:
After starting the dev server, optimized dependencies changed. reloading always gets triggered. Its annoying especially because not just initial page load causes this, but also user navigation. So if I click on a router-link, it doesn't send me to the route, it refreshes my page. After the refresh, if I click the router-link, it will send me to the route correctly. BUT, if I restart the dev server, the same problem will occur.
NPM:
optimized dependencies changed. reloading only happens the first time the dev server is started. Any restarts of the dev server do not have this problem. (Much better)
Additional context
No response
Logs
No response
Reactions are currently unavailable