IDEA+DevTools实现热部署功能

1.POM集成

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

2.IDEA工具启动自动编译功能

 

 3.IDEA 设置为在程序运行过程中,依然允许自动编译

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

 

posted @ 2021-06-14 13:40  博小园  阅读(50)  评论(0编辑  收藏  举报
回到顶部