Web/Spring
[스프링부트] spring-boot-devtools 사용방법
땀두
2022. 3. 21. 08:43
Spring Boot DevTools가 제공하는 기능은 크게 5가지이다.
- Property Defaults
- Automatic Restart
- Live Reload
- Global Settings
- Remote Applications
maven 프로젝트의 경우 spring-boot-devtools를 사용하기 위해서 아래와 같이 설정해준다.
build.gradle로 들어가서 dependency 추가
implementation 'org.springframework.boot:spring-boot-devtools'
file - settings - build, execution, deployment - compiler 에서 build project automatically 체크
Advanced Settings > Allow auto-make to start even if developed application is currently running 체크