IntelliJ / spring boot DevTools 설정

아몬드봉봉·2023년 8월 15일

Intellij IDEA

목록 보기
1/1

Spring boot DevTools 란?

소스 변경이 발생할 때마다 자동으로 빌드를 해줘서 빠르게 적용한 코드 결과를 확인할 수 있게 도와주는 툴입니다.

의존성 추가

grale
dependencies {
	developmentOnly 'org.springframework.boot:spring-boot-devtools'
}
maven
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <version>3.1.2</version>
</dependency>

Intellij 설정

  • mac Intellij 경우 (윈도우는 상단 File -> settings를 클릭하시면 됩니다. 단축키 Ctrl + Alt + s)
image * Build, Execution, Deployment -> Compiler -> Build project automatically 체크 image * Advanced Settings -> Compiler 구역 -> Allow auto-make to start even developer application is currently running 체크 image
profile
성장을 즐기는 백엔드 자바 개발자

1개의 댓글

comment-user-thumbnail
2023년 8월 15일

유익한 자료 감사합니다.

답글 달기