저장시 Live reload
- 코드 수정 후 저장시 프로그램을 수동으로 재시작 할 필요 없이 자동으로 적용하는 방법.
- 본인은 맥에서 IntelliJ를 사용중임.
- 맥이 아니어도 설정에서 하는게 전부라 따라가면서 하면 될거같습니다.
dependencies
dependencies {
implementation 'org.springframework.boot:spring-boot-devtools:2.7.4'
}
Preferences
![](https://velog.velcdn.com/images/kon6443/post/9a1092bc-5bda-440c-a353-d80cbebfaa5e/image.png)
IntelliJ
- Preferences
- Compiler
- check Build project automatically
![](https://velog.velcdn.com/images/kon6443/post/461e7d81-f8a2-4e19-a353-e43d99a1a884/image.png)
IntelliJ
- Preferences
- Build Tools
- check Reload project after changes in the build scripts
IntelliJ
- Preferences
- Build Tools
- check Any changes
![](https://velog.velcdn.com/images/kon6443/post/a275f006-77ad-450d-9849-0744ae78bd07/image.png)
IntelliJ
- Preferences
- Advanced Settings
- check Allow auto-make to start even if developed application is currently running