----项目修改自动重启设置 打开IDEA软件 ==》CTRL + SHIFT + A --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running,即可