spring boot 热更新配置

maven添加

spring-boot-devtools

允许自动构建

设置里面,搜索compiler,在Build,Execution,Deployment里面勾选Build project automaticlly

idea运行时自动构建

mac:option + command + shift + /
linux:shift+ctrl+alt+/

调出Maintenance,Registery
搜索 compiler.automake.allow.when.app.running,勾选

原文地址:https://www.cnblogs.com/ziyouchutuwenwu/p/6768040.html