-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--watch
mode gets stuck on rebuild in v6
#19410
Comments
It seems it's stuck at this line when loading |
Ah interesting, your workaround works for the full project too 👍 I tried setting to to "debug" which the docs says implies "auto", and I get this on rebuilds
|
Thank you for the workaround, @sapphi-red. We have the same problem, though we thought it was a problem within froala. I have another reproducer with a smaller footprint. Maybe it helps? See https://github.com/HerrDietz/froala-vite-build-reproducer With this reproducer, i noticed something curious: |
@HerrDietz Thanks, that made it easier to debug. It seems it's more a bug in rollup rather than the plugin: rollup/rollup#5848 For a workaround, you can set |
Ah this does the trick too 👍 |
Describe the bug
When running
vite build --watch
it seems to often get stuck after saving changes to a file.I have tried to narrow down the problem, and by deleting parts of the project it eventually no longer gets stuck. But I don't think this is to do with any particular part of the project - it seems more to do with the size of the build?
This did not happen with vite 5.4.14
Reproduction
https://github.com/MetRonnie/cylc-ui/tree/vite-6-build-watch
Steps to reproduce
Then apply this diff to
src/views/Tree.vue
:It should get stuck on rebuild. If not, try undoing the change and then re-doing it a few times.
System Info
Used Package Manager
yarn
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: