Document DevTools' requirement for shutdown hook to be registered

Closes gh-4153
This commit is contained in:
Andy Wilkinson 2015-10-26 11:04:54 +00:00
parent 59d2ae598b
commit 0061e84a59
1 changed files with 4 additions and 0 deletions

View File

@ -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
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
****
The restart technology provided by Spring Boot works by using two classloaders.