What is hot reloading?
You can simply understand hot loading as IDEA will automatically deploy the project, and you don't need to re-run the project after writing the code yourself. To achieve the purpose of developing projects more quickly. Let's get down to it.
1. Introduce the dev-tools framework into the Spring Boot project
In fact, in this step, when creating a Spring Boot project, just select Spring Boot DevTools.
2.Settings to enable automatic project compilation
3. Enable running hot deployment
4. Click Debug to enable hot deployment