intelliJ spring-boot-devtools auto restart 방법

NormalDwight·2022년 2월 20일
0

intelliJ 사용법

목록 보기
1/1

intelliJ 2021.2 버전 이상 기준

  1. intelliJ settings > Build, Execution, Deployment > Compiler 들어가기
  2. Build project automatically 체크
  3. application.properties 내 아래 코드 작성
	spring.devtools.restart.enabled=true 
  1. 2021.2 버전 이상은 registry가 아닌 Advanced Settings로 들어가서 하위 이미지에 표시된 체크박스 체크. (shift 두번 누르면 뜨는 검색창에 Advanced Settings 입력 후 해당 검색결과 클릭)

 

그 외 버전

  1. 위 1, 2, 3 동일.
  2. shift 두번 누르면 뜨는 검색창에 registry 입력 후 해당 검색결과 클릭
  3. Registry 들어갔을 때 뜨는 목록(알파벳 순 정렬) 내에서 complier.automake.allow.when.app.running 찾아서 체크

0개의 댓글