Search results
Spring Boot and IntelliJ - Autoreload Java Classes, and Thymeleaf templates without restart
- Add the
spring-boot-devtools
dependency:
pom.xml
:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
- Disable Thymeleaf templates caching:
---
spring:
config:
activate:
on-profile: localdev
thymeleaf:
cache: false
- Enable
Build project automatically
in IntelliJ
IntelliJ - Enable Build project automatically
- Enable
Allow auto-make to start even if develop application is currently running
IntelliJ - Enable Allow auto-make to start even if develop application is currently running