Developer Tools/IntelliJ & DataGrip
[Intellij] Thymeleaf 관련 html 파일 수정시 바로 반영되도록 하는 환경 설정 방법
kmhan
2021. 8. 2. 15:39
728x90
반응형
1. 설정(application-local.yml) 파일 확인 (없으면 추가)
|
1
2
3
|
spring:
thymeleaf:
cache: false
|
cs |
2. Edit Configurations... 클릭

3. On 'Update' action, On frame deactivation 둘 다 Update classes and resources 선택

※ 서버 재시작 이후에 Thymeleaf 관련 html 파일 수정 이후에 새로고침하면 바로 반영됩니다.
환경에 따라 몇초 지연될 수 있습니다.
728x90
반응형