Replies: 3 comments
-
I'm guessing there was some dependency optimisation happening in the background. This will only happen after new dependencies are installed and won't affect deployed apps. |
Beta Was this translation helpful? Give feedback.
-
Why so many depedency optimisation ? There is definitely something wrong here, I tried several svelte libraries, and no one caused so many slow and frequent 'depedency optimization' reloads, sometimes not even touching the component might still trigger you an 'optimized depedency' message with a 15 seconds refresh at least |
Beta Was this translation helpful? Give feedback.
-
Give something like this a go in the vite.config.ts:
Alternatively I suppose you can run the server via |
Beta Was this translation helpful? Give feedback.
-
Hi
A few days ago, I created a new SvelteKit project and Just added all the shadcn-svelte components in. Added a few components (by using the code from examples) to a page, and every save took many seconds to update the page.
What is causing this issue? Is this a Svelte problem or SvelteKit or Vite, or what?
Beta Was this translation helpful? Give feedback.
All reactions