Saturday 29 July 2017

how to run server of spring boot auto reload mode while in code development

I can called it as hot deployment.to save code deployment time.
while developing my code without restarting server spring boot auto reload allow me to reload my class code changes auto deploy on server for this I have to add this jar my "pom.xml" file.

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <optional>true</optional>
    </dependency>
</dependencies>

1 comment:

  1. https://stackoverflow.com/questions/21399586/hot-swapping-in-spring-boot/50832857#50832857

    ReplyDelete