Code changes are common during development, and in order to see the results, you have to stop the project and restart it
For Spring Boot projects, the startup time is very fast, and each service is only focused on itself under the microserver architecture
The business code is also very small, and this startup time is tolerable for those brittle monomer old projects
Spring Boot starts quickly, but we still have to restart it ourselves
If it can’t make any changes, it will quietly reload the changes itself. And the answer is yes,
This can be done with spring-boot-devTools
All you need to do is add the spring-boot-devTools dependency
Configuration depends on
The idea of configuration
Then Shift+Ctrl Alt /, Registry,
Finally, restart IDEA
After hot deployment, as long as I have a save operation, I automatically reload the modified Class and never use it again
Manually stop and start our project