Closed Legioth closed 8 months ago
Yes, I'm also facing same issue. This used to work but after some changes it is not. Force restart works again
Seems like some part of this issue isn't deterministic since I had a similar issue when demoing the feature yesterday even if it had worked nicely five times before when doing (more or less) exactly the same thing while preparing the demo.
Description of the bug
There's something weird going on with updating the route registry when redeploying through Spring Boot Devtools. For some classes, the route registry is updated only after a full server restart whereas a Devtools redeploy is enough for other classes.
Expected behavior
All view changes should be detected with a regular redeploy.
Minimal reproducible example
mvn
or by running themain
methodTest.java
with the following content/test
gives an error page/test
.@Route
inTest.java
. Wait for the redeploy and notice that/test
still renders the view.@Route
annotation inTest.java
and comment out@Route
inMainView.java
. Wait for the redeploy and notice that you cannot navigate to/
.MainView.java
, wait for the redeploy and notice that you can again navigate to/
.Versions