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


Watch video Spring Boot 2 + Dev Tools : Auto Server Restart (enable/disable) | Java Inspires online without registration, duration hours minute second in high quality. This video was added by user Java Inspires 06 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 686 once and liked it 5 people.