Spring Boot, update frontend without restarting the application

wss.world picture wss.world · Jun 14, 2014 · Viewed 11.8k times · Source

In the Spring Boot make the frontend part update without restarting the application?

Answer

Amrut Prabhu picture Amrut Prabhu · May 25, 2017

Best solution i found for static webpages and css is https://stackoverflow.com/a/39334398/6467734 and for loading code (including jsp) without restarting the server you can use Spring Boot Devtools dependency

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