Open jojule opened 1 day ago
Yes this is by design #18393
The bigger issue was that developers restart their server, but leave the browser page open leading to an increasing amount of tabs.
But as there is no way to know if there is a tab open in some browser there is instead a timeout (30 min) after latest open tab call.
To always open a tab just run mvn
with the clean
target and server start (e.g. spring-boot:run
)
Another way to always open the browser is to set vaadin.launch-browser-delay=0 in application.properties
Description of the bug
When I launch my new project with
mvn
it opens uphttp://localhost:8080/
as expected on Chrome.When I kill the server (mvn) and run it again, it does not launch the browser.
Way to fix the issue is to delete
target/tab.launch
. After thatmvn
agains opens the browser as expected. And recreated the file. Leading back to the original problem.Expected behavior
mvn
command should always open my application in a browser.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