vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
622 stars 166 forks source link

Add "auto" mode to hilla.endpoint.hot-reload.enabled config parameter #19652

Closed jcgueriaud1 closed 4 months ago

jcgueriaud1 commented 5 months ago

Describe your motivation

If there is a Hilla view in the project the endpoint should be "hot-reload" by default. For a Flow project, it should be disabled by default.

Describe the solution you'd like

Similar to the vaadin.frontend.hotdeploy, there should be a auto configuration as default. Then a user can force it to true or false if needed.

Additional context

See this ticket: https://github.com/vaadin/flow/issues/18578

cromoteca commented 4 months ago

The hotswap handling has changed in 24.5 and hilla.endpoint.hot-reload.enabled is no longer there.