<dependency>
<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId>
</dependency>
操作: ctrl + shift + alt + /,选择Registry,勾选勾上 Compiler autoMake allow when app running
原文:https://www.cnblogs.com/zhuzhaoli/p/14882343.html