1. dependency 추가
Maven
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
Gradle
dependencies {
developmentOnly 'org.springframework.boot:spring-boot-devtools'
}
2. application.properties 추가
spring.devtools.livereload.enabled=true
spring.thymeleaf.cache=false
3. Intellij 환경설정 수정
![](https://i0.wp.com/blog.mizix.me/wp-content/uploads/2020/12/image.png?resize=700%2C498&ssl=1)
Build project automatically 체크
4. Intellij Registry 수정
![](https://i0.wp.com/blog.mizix.me/wp-content/uploads/2020/12/image-1.png?resize=684%2C687&ssl=1)
![](https://i0.wp.com/blog.mizix.me/wp-content/uploads/2020/12/image-2.png?resize=700%2C697&ssl=1)
compiler.automake.allow.when.app.running 체크