Spring Devtools triggers restart when changing excluded files

前端 未结 2 391
花落未央
花落未央 2021-01-24 23:46

I have a Spring Boot Web Project that uses Joinfaces and Primefaces. The application extends from SpringBootServletInitializer and also ge

相关标签:
2条回答
  • 2021-01-25 00:15

    The solution to my main problem might be relatively easy.

    I've added the webapp folder as Source Folder in Eclipse. As soon as I've removed the folder from the list of source folders, the reload was no longer triggered when I changed something in the xhtml files.

    This answer gave me the idea, that the source folder might be the problem.

    0 讨论(0)
  • 2021-01-25 00:22

    My exclude also did not work. What I did as a workaround is slowing the reload down like this:

      poll-interval: 6000
      quiet-period: 5000
    
    0 讨论(0)
提交回复
热议问题