最近寫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: