-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed as not planned
Labels
Description
Describe the bug
note: we are talking about 2 projects. main project and ui library project.
developer works on main project of company. and uses company npm scopped lib configure vite project. after few edits of one of the components button.tsx
vite's HMR fail with an error
repo, to reproduce:
https://github.com/lior-a/vite_issue/tree/master/hmr_fail_due_to_missing_file
- could be related to file system race condition or to vite-dts plugin
Reproduction
https://github.com/lior-a/vite_issue/tree/master/hmr_fail_due_to_missing_file
System Info
repo, to reproduce:
https://github.com/lior-a/vite_issue/tree/master/hmr_fail_due_to_missing_file
error:

Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- 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 https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.