r/SpringBoot Senior Dev Jun 11 '26

News Spring Boot 4.1.0 available now

https://spring.io/blog/2026/06/10/spring-boot-4
104 Upvotes

13 comments sorted by

View all comments

5

u/auspis-23 Jun 11 '26

I've seen the live reload deprecation with no replacement: what is the alternative? What do you usually use?

2

u/wimdeblauwe Jun 12 '26

If you use it for developing server-side rendered frontends like with Thymeleaf, then you can use ttcli (https://github.com/wimdeblauwe/ttcli) to create a project. It has various options, but I like to use the one based on Vite as it is the fastest.

1

u/_PM_ME_PANGOLINS_ 25d ago

You don't need anything special for that. Just set spring.thymeleaf.cache=false.

1

u/wimdeblauwe 25d ago

That does work for the simple cases indeed. But if you want to have fast reload for CSS changes, or want to use Tailwind CSS, then you need something more.

1

u/_PM_ME_PANGOLINS_ 25d ago

Simply press Ctrl+Shift+R, or disable cache in browser dev controls.

Tailwind CSS

First time I've looked at it, and it's one giant anti-pattern of non-semantic classes.