SpringBoot项目开发热部署
devtools 热部署
1. 项目中引入依赖
1 | <!-- devtools 热部署 --> |
2. IDEA 配置
在修改了类文件代码后,IDEA 不会自动编译,需开启 IDEA 配置。
- IntelliJ IDEA -> Perferences -> Build -> Compiler:
Build project automatically
- IntelliJ IDEA -> Perferences -> Advanced Settings ->
Allow auto-make to start even if developed application is currently running
JRebel插件实现热部署
…