반응형
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 환경설정 수정
4. Intellij Registry 수정
반응형
'Programming' 카테고리의 다른 글
[리팩터링 카탈로그] 1-1. 함수 추출하기 (0) | 2021.12.05 |
---|---|
[리팩터링 카탈로그] 1. 기본적인 리팩터링 (0) | 2021.12.05 |
[MySql] 권한 주기 (0) | 2014.04.01 |
키보드 숨기기 - 다른 여백 눌렀을때 (0) | 2013.11.25 |