Springboot thymeleaf热部署
1.
spring.thymeleaf.cache=false
2.加入DEV-tools依赖
<!--让项目支持热更新-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
3.快捷键Ctrl+Alt+s调出设置Compiler->Build project automatically
4.快捷键Ctrl+Shift+Alt+/调出弹出窗口点击Registry
选中compiler.automake.allow.when.app.running