springboot hot deployment settings

springboot provides hot deployment, the so-called hot deployment is when you modify a file code, do not have to re-start the server, but as long as you look to re-build the current project will be rebuilt. And that's hot deployment.

In fact springboot hot deployment is through a jar package implementation-dependent, it is a tool, just add a dependency in the pom file can be achieved.

Add the following dependence:

<!-- springbooo热部署插件-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>2.1.3.RELEASE</version>
</dependency>

Guess you like

Origin www.cnblogs.com/jasonboren/p/11140942.html