Commit 0061e84a authored by Andy Wilkinson's avatar Andy Wilkinson

Document DevTools' requirement for shutdown hook to be registered

Closes gh-4153
parent 59d2ae59
...@@ -886,6 +886,10 @@ NOTE: If you use JRebel automatic restarts will be disabled in favor of dynamic ...@@ -886,6 +886,10 @@ NOTE: If you use JRebel automatic restarts will be disabled in favor of dynamic
reloading. Other devtools features (such as LiveReload and property overrides) can still reloading. Other devtools features (such as LiveReload and property overrides) can still
be used. be used.
NOTE: DevTools relies on the application context's shutdown hook to close it during a
restart. It will not work correctly if you have disabled the shutdown hook (
`SpringApplication.setRegisterShutdownHook(false)`).
.Restart vs Reload .Restart vs Reload
**** ****
The restart technology provided by Spring Boot works by using two classloaders. The restart technology provided by Spring Boot works by using two classloaders.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment