参考资料:
1,https://www.cnblogs.com/elvinle/p/7989119.html
2,https://blog.csdn.net/je_ge/article/details/53326525 不同介绍原理和yaml配置
3,https://blog.csdn.net/husong_/article/details/79984248
4,https://my.oschina.net/yejunxi/blog/845752 原创文章
注意:实际流程1测试去掉未见有任何影响,仍然可以热部署
操作流程
1. pom.xml 修改
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><optional>true</optional></dependency>
在pom.xml文件中, 加入此配置, 可以更新后台修改的静态文件
2. file->settings

在上图中, 将红色圈中的部分, 选中即可
3. windows:shift + ctrl + alt + /. Mac:shift+command(普通键盘小窗口)+alt+/

通过以上快捷键, 会弹出Maintenance弹窗, 选择第一个

网友评论