I am using Spring Boot and Thymeleaf via Maven. I can't seem to get Netbeans to automatically re-deploy any of my Thymeleaf template files when I make changes. In order to see the changes I need to do a full clean/build/run. This takes way too long.
The templates are in src/main/resources/templates
. I have an application.properties file in src/main/resources/ with spring.thymeleaf.cache=false
and spring.template.cache=false
.
I have "Compile on save", "Copy resources on save" and "Deploy on save" turned on in the project settings.
My maven build produces a war file that Netbeans deploys to Tomcat and I am using the annotation @EnableAutoConfiguration
.
Netbeans does hot deploy changes to the Java classes but not for any of the static files in src/main/resources/.
Software in use:
- Mac OS X 10.9.4
- Java 1.8
- Netbeans 8.0.1
- Tomcat 8.0.12
- Spring Boot 1.1.7
- Thymeleaf 2.1.3 (via Spring Boot)
Any guidance is much appreciated.