Spring Boot DevTools는 소스 변경이 발생할 때마다 빠르게 자동 빌드해줘서 바로바로 반영 결과를 확인할 수 있도록 도와주는 유용한 툴이다.
라이브러리 사용하기
1. build.gradle 의존성 추가
dependencies {
...
developmentOnly 'org.springframework.boot:spring-boot-devtools'
}
코끼리 모양 눌러서 라이브러리 적용
2. intellij 설정하기
1) pereferences > Build,Execution, Deployment > Compiler > 'Build project atomatically' 체크
2) pereferences > Advanced Settings > Compiler > 'Allow auto-make to ...' 체크
'백엔드 개발 > Spring&JPA' 카테고리의 다른 글
좋은 객체 지향 설계의 5가지 원칙 (SOLID) (0) | 2023.03.09 |
---|---|
스프링 빈과 의존관계 (0) | 2023.03.02 |
spring 개발 기초 방식 3가지 (0) | 2023.03.01 |
console로 빌드하기 (0) | 2023.03.01 |
thymeleaf 템플릿엔진 (0) | 2023.03.01 |