spring boot + thymeleaf hot swap not working?
我想大声告诉你
我想大声告诉你 2017-05-17 09:58:57
0
1
532

Every time you modify thymeleaf's templates, you need to restart spring boot. Although spring boot has a good startup speed, it is still very troublesome. Google has usedspring-boot-devtoolsto achieve hot plugging.

Mypom.xmljoined:

  org.springframework.boot spring-boot-devtools 1.3.0.RELEASE true 

But this still has no effect, but I usemvn spring-boot:runAfter starting, after modifying thymeleaf's templates, I must restart to update the templates. At the same time, I have setBuild project automaticallyinintellij-idea.

What is the reason why hot swapping is invalid?

我想大声告诉你
我想大声告诉你

reply all (1)
大家讲道理

It may be thymeleaf’s cache and settingsspring.thymeleaf.cache=false

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!