-
Notifications
You must be signed in to change notification settings - Fork 176
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
Vaadin 24.4.alpha25 project gets stuck in an infinite reload loop with VS Code #19280
Comments
I couldn't reproduce it. My configuration:
|
I cannot reproduce this either, with the same setup, except that my operating system is ventura 13.1 i7 |
I reproduced this case and it stuck in an infinite loop for me as well. (Also check if node.js is installed or not, you can install it from https://nodejs.org/) These steps resolved the issue on my side. |
See this temporary solution vaadin/hilla#2573 (comment) |
Is this some kind of race condition between VS Code running the Maven "prepare-frontend" target and the dev server running the same thing when you start it? Would it be resolved by removing the eclipse metadata lifecycle metadata for "prepare-frontend"? I think removing that would solve other problems also and make all IDEs behave the same way |
Maybe. It doesn't matter if I run the Application.java or mvn. I can start the app without issues from the command line, but the moment I open the directory in VS Code it starts reloading furiously |
Infinite reload with IntelliJ - https://vaadin.com/forum/t/continuous-page-reload-while-debugging-using-hotswap/168068 |
Tried to reproduce this issue with more current versions today, but was not able to trigger a reload loop no matter how I start the application. Is this still a problem for someone? @marcushellberg could you retest with latest version(s) and report back? If it's still an issue, I'd need more detailed instructions on how to reproduce the issue locally. Versions I used for testing:
|
I gave it another try with
but got no loop. I wonder if anyone who have this issue could report it to |
Description of the bug
When starting a new Vaadin 24.4.alpha25 application in VS Code, it gets stuck in an infinite reload cycle caused by:
Running VS Code extension bisect, I could identify the extension causing the issue as the RedHat Java plugin.
![Screenshot 2024-04-25 at 11 43 58](https://private-user-images.githubusercontent.com/883698/326561886-199972de-1d6a-4f3d-a648-34f207c4a80b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MjE3MzIsIm5iZiI6MTczOTkyMTQzMiwicGF0aCI6Ii84ODM2OTgvMzI2NTYxODg2LTE5OTk3MmRlLTFkNmEtNGYzZC1hNjQ4LTM0ZjIwN2M0YTgwYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOFQyMzMwMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YmUzNWM3ZWEyNDc1ZjMzNTI5NzA3NGEyZWQ3NzcyYmZjMjY2NGI1NjQ3NTQwMjYyZTdlNzVjZjNhNWE0MTY3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.WA7c3I28QsBmK5E-gxtpKp7wOwFD4d2wJT0iMzRUswU)
Expected behavior
The application should start normally.
Minimal reproducible example
An application downloaded with https://start.vaadin.com/dl?preset=react&preset=partial-prerelease using alpha25.
Starting the app with VS Code running (either by running
Application.java
or withmvn
) causes the app to reload constantly.Versions
The text was updated successfully, but these errors were encountered: