Spring Boot 2 + Dev Tools : Auto Server Restart (enable/disable) | Java Inspires

Published: 06 July 2020
on channel: Java Inspires
686
5

In this video,
we will see how to reload code changes without restarting the app manually.


In spring boot, we can achevie this by using dev tools module.
we will create a simple rest api using spring boot and then will add dev tools module.


We will see how to disable auto server restart..



to achieve this need to add one property in application.properties.


this property


spring.devtools.restart.enabled as false.


if we want to enable auto restart. just set value as true.


Thats it guys... THANK YOU...

#JavaInspires
#SpringBoot2
#CodeExamples


spring-boot-devtools
spring.devtools.restart.enabled=true/false


On this page of the site you can watch the video online Spring Boot 2 + Dev Tools : Auto Server Restart (enable/disable) | Java Inspires with a duration of hours minute second in good quality, which was uploaded by the user Java Inspires 06 July 2020, share the link with friends and acquaintances, this video has already been watched 686 times on youtube and it was liked by 5 viewers. Enjoy your viewing!