1.添加依赖
2.开启自动编译
3.ctrl+shifi+alt+/
点击registry
选择compiler autoMake allow when app running
接下来在你进行项目修改切换到浏览器时就会发现springboot重新加载了
4.排除热部署范围
将不需要热部署的路径定义到配置文件中
spring.devtools.restart.exclude=static/**,public/**
(责任编辑:范老师)