Vite optimized dependencies changed and reloading many times #14801
Replies: 1 comment 3 replies
-
Hmm, if possible try switching to |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm encountering an issue when trying to start my monorepo project using the package manager
pnpm
.Surprisingly, Vite repeatedly refreshes due to changes in optimized dependencies, as depicted in the attached screenshot below:
I've attempted various solutions, including:
pnpm vite --force
lodash
(and some other libraries that I suspected might be causing the frequent reloads) tooptimizeDeps.include
(I also tried the exclude option, but the problem persisted).Unfortunately, none of these methods have resolved the issue. Would anyone be able to provide some guidance on this matter?
Thank you.
My system:
My
vite.config.ts
:Beta Was this translation helpful? Give feedback.
All reactions