build.gradle 파일
dependencies {
developmentOnly('org.springframework.boot:spring-boot-devtools')
}
spring.devtools.restart.enabled = true
Intellij의 file > settings > build,execution,deployment > compiler에 있는 build project automatically를 체크
Intellij에서 SHIFT+CTRL+A를 누르고 registry를 입력한 뒤, compiler.automake.allow.when.app.running을 체크
intelliJ 버전에 따라 file > settings > Advanced Settings > Allow auto-make to start even if developed application is currently running 체크