1.settings-Compiler,勾选Build project automatically

转 IDEA热部署,自动编译

2.Ctrl+Shift+Alt+/ 选择Registry,勾选compiler.automake.allow.when.app.running

转 IDEA热部署,自动编译

相关文章: