最近写Java开始使用Idea作为开发环境,项目中使用spring boot+thymeleaf的框架组合,每次改完页面都必须重新运行项目(这速度我也是醉了),于是查看了配置文件的配置,如下:
application-dev.yml文件:
1
2
3
4
5
6
|
spring:
thymeleaf:
cache:
false
cache-period: 0
template:
cache:
false
|
pom.xml: