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
I report the fact that Vite build, in watch mode, builds and remains correctly active in the first build, but following the first change the build is re-run and terminated, without remaining active waiting for further changes.
The problem seems different from other old (and solved) issues, such as #12852 or #12791;
In fact, by doing some testing, I noticed that in my specific case I find the issue using TypeScript, also going through the generation of type files through https://github.com/qmhc/vite-plugin-dts.
Writing code in JS I noticed that I don't have this problem.
Now I can't figure out if this problem is related to TS or to the plugin itself, or either.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Good morning,
I report the fact that
Vite build
, inwatch
mode, builds and remains correctly active in the first build, but following the first change the build is re-run and terminated, without remaining active waiting for further changes.The problem seems different from other old (and solved) issues, such as #12852 or #12791;
In fact, by doing some testing, I noticed that in my specific case I find the issue using TypeScript, also going through the generation of type files through https://github.com/qmhc/vite-plugin-dts.
Writing code in JS I noticed that I don't have this problem.
Now I can't figure out if this problem is related to TS or to the plugin itself, or either.
Reproduction
https://stackblitz.com/edit/vitejs-vite-czcsmo?file=src%2Fvite-env.d.ts
Steps to reproduce
Run
npm install
, thennpm build:lib:watch
.Change something in
lib/main.ts
.You will see that the build will terminate, without staying in watch mode.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: