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

Опубликовано: 06 Июль 2020
на канале: 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


Смотрите видео Spring Boot 2 + Dev Tools : Auto Server Restart (enable/disable) | Java Inspires онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Java Inspires 06 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 686 раз и оно понравилось 5 людям.