You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a basic Vite example, you can see that Vite automatically restarts the server once you change the Vite config file that is vite.config.ts by default.
However, for some reason, nothing seems to restart when changing vite.config.ts in a Flow / Fusion project.
vursen
changed the title
[Vite] The Vite server doesn't restart when changing vite.config.js
[Vite] The Vite server doesn't restart on vite.config.js change
Jan 17, 2022
import{createServer}from"vite";importconfigfrom"./vite.config.js";(async()=>{constserver=awaitcreateServer({// any valid user config options, plus `mode` and `configFile`
...config,configFile: false,});awaitserver.listen();server.printUrls();})();
Description of the bug
In a basic Vite example, you can see that Vite automatically restarts the server once you change the Vite config file that is
vite.config.ts
by default.However, for some reason, nothing seems to restart when changing
vite.config.ts
in a Flow / Fusion project.Minimal reproducible example
The problem can be seen in any Flow / Fusion project created with https://start.vaadin.com/welcome.
Expected behavior
The Vite server automatically restarts when
vite.config.ts
changes.Actual behavior
The Vite server doesn't restart when
vite.config.ts
changes.The text was updated successfully, but these errors were encountered: