I using Springboot to create my app, so in Springboot Doc says if I use devtools the tomcat will restart everty change in my code, but I use the maven panel to run my app just double click in spring-boot:run plugins, but when I change any code my tomcat don`t restart.
how can I fix this? tks
This a guide I used some time ago to make it work: https://www.mkyong.com/spring-boot/intellij-idea-spring-boot-template-reload-is-not-working/
Basically you have two do 2 things:
With IntelliJ IDEA you'll need to build the project after making changes to your source code.
Build -> Build Project (Ctrl + F9)
That will trigger the restart.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With