김영한 스프링
IntelliJ(인텔리제이)/spring-boot-devtools 적용/Gradle
sugeniusk
2024. 2. 29. 00:23
build.gradle
developmentOnly 'org.springframework.boot:spring-boot-devtools'
그래도 적용이 안된다 ^^ ,,
Edit Configurations... > Modify oprions > On 'Update' action > Update classes and resources 선택
Edit Configurations... > Modify oprions > On frame deactivation > Update classes and resources 선택
적용 후 확인 가능
application.properties 내용 추가
#devtools
spring.devtools.restart.enabled=true
#thymeleaf 사용 시
spring.thymeleaf.cache=false