热部署工具devtools

1.导入依赖

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

2.更改配置

File-Settings-Compiler-Build Project automatically

 

 ctrl + shift + alt + / ,选择Registry,勾上 Compiler autoMake allow when app running

 

posted @ 2021-08-17 13:10  潮哥啊边伦个  阅读(72)  评论(0)    收藏  举报