idea gradle 配置spring boot dev-tools热部署

来源:互联网 发布:淘宝客服规则雷区 编辑:程序博客网 时间:2024/06/10 06:06

1.添加依赖

compile 'org.springframework.boot:spring-boot-devtools'


2.设置IDEA


3.保存后回到主页面,Shift+Ctrl+Alt+/ 选择Registry

      


4.勾选complier.automake.allow.when.app.running



5.重启项目 完成