Spring Boot Devtools-Automatic Restart 적용 > 스프링 부트

본문 바로가기

[설정] Spring Boot Devtools-Automatic Restart 적용

필기자
2022-10-14 15:15 2,117 0

본문

Spring Boot Devtools-Automatic Restart 적용

소스 수정시 서버가 자동 재시작하여 수정된 내용을 적용 해줍니다.

 

pom.xml 에 다음 내용 확인 또는 추가



        <dependency>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-devtools</artifactId>
           <scope>runtime</scope>
           <optional>true</optional>
        </dependency> 

 

Setting > Build, Execution, Deployment > Compiler > Build Project Automatically 체크

 

 20221014154508_bd8088e542de320ad444a07cdd539bb7_njia.png

 

Setting > Advanced Settings > Allow auto-make to start even if developed application 체크

 

20221014154625_bd8088e542de320ad444a07cdd539bb7_93r6.png

댓글목록0

등록된 댓글이 없습니다.
게시판 전체검색