-
Notifications
You must be signed in to change notification settings - Fork 166
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
Hotswap reloads every time IntelliJ is defocused #19971
Comments
Looking at the logs, it appears that there's something that modifies the EDIT: it happens, for example, if you touch the |
Or any other properties file, according to the filter in the Spring plugin
|
The default value for frame deactivation is to update classes and resources. This causes an extra update when going from IntelliJ to the browser which either does nothing or then does an extra hotswap of some files, as described in vaadin/flow#19971
The default value for frame deactivation is to update classes and resources. This causes an extra update when going from IntelliJ to the browser which either does nothing or then does an extra hotswap of some files, as described in vaadin/flow#19971
This specific problem related to moving focus from IntelliJ to the browser should be resolved by turning off the frame deactivation policy, which will be done automatically with vaadin/intellij-plugin#87 |
There is another problem described here also, which is why your |
The default value for frame deactivation is to update classes and resources. This causes an extra update when going from IntelliJ to the browser which either does nothing or then does an extra hotswap of some files, as described in vaadin/flow#19971
Description of the bug
Every time I change window focus from IntelliJ to anything else (for example the browser running my application), hotswap reload is triggered. Even if I have not made any changes.
For me it looks like this
Expected behavior
If no files have been changed, there should not be reload.
Minimal reproducible example
Minimal Hello World application from start.vaadin.com with two views: One for Hilla and for Flow
Versions
Hilla: 24.5.0.alpha15
Flow: 24.5.0.alpha20
Vaadin: 24.5.0.alpha17
Copilot: 24.5.0.alpha20
Frontend Hotswap: Enabled, using Vite
OS: aarch64 Mac OS X 15.0
Java: JetBrains s.r.o. 21.0.3
Browser: Chrome 128.0.6613.138 (Official Build) (arm64)
Java Hotswap: false
IDE Plugin: 1.3.1
IDE: IntelliJ 2024.2
The text was updated successfully, but these errors were encountered: