其他分享
首页 > 其他分享> > Spring: SpringBoot 热部署

Spring: SpringBoot 热部署

作者:互联网

 

 

 

 

 

 

 

 <!--开启热部署-->
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-devtools</artifactId>
      <optional>true</optional>
    </dependency>

 

 spring.yaml

  devtools:
    restart:
      enabled: true
      poll-interval: 1s
    livereload:
      enabled: true

 

标签:1s,SpringBoot,部署,Spring,boot,spring,devtools,true,enabled
来源: https://www.cnblogs.com/dissipate/p/16159005.html