2020-10-15
intellij idea开启debug热加载/热部署
一、POM集成
1 2 3 4 5 |
|
二、勾选Build project automatically
下面这一步,酌情设置。
三、IDEA 设置为在程序运行过程中,依然允许自动编译
操作: ctrl + shift + alt + /,选择Registry,勾选勾上 Compiler autoMake allow when app running
四、spring boot 热部署下面的running Application Update Policies
-
附加
intellij idea在debug时如果能开启热加载或热部署
一、开启debug热加载/热部署
二、热加载
在菜单Run里找到“reload changed classes”即可在不重启程序的情况下进行热加载