Ideal+spring boot+thymeleaf 的熱部署問題處理

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

詳情

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章