intellij ultimate
-
[IntelliJ] 타임리프 및 클래스 변경 핫 리로드 적용하기개발/etc 2024. 2. 24. 01:13
application.yml spring thymeleaf: cache: false devtools: livereload: enabled: true restart: enabled: true 디펜던시에 devtools도 꼭 추가해주자. IntelliJ 메뉴 상단 Run -> Edit Configurations Modify optinos를 클릭해서 On 'Update' action과 On frame deactivation 에서 Update classes and resources를 해주면 된다. 새로고침 하면 타임리프와 클래스의 변경사항을 감지해서 서버 리스타트 혹은 리로드를 한다.