Setting spring.template.cache
is enough if you run application with mvn spring-boot:run
.
I am not sure about other IDE's, but in case of running application from Intellij IDEA in order to refresh Thymeleaf templates you need to Make Project (Cmd+F9
on Mac) each time you want to see changes.