diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 91c8d14bbb..25ddff0e60 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -943,16 +943,23 @@ on the classpath change. This can be a useful feature when working in an IDE as a very fast feedback loop for code changes. By default, any entry on the classpath that points to a folder will be monitored for changes. +.Triggering a change +**** +DevTools _only_ monitors classpath resources so the only way to trigger a change is to +update the classpath. On Eclipse, saving is actually updating the project, compiling or +copying resources for you as part of the save action. If you are using Intellij IDEA, +there is no such thing as a save action since the resources are saved automatically for +you; please use the `Build` -> `Make Project` action to achieve the same result. +**** + NOTE: You can also start your application via the supported build plugins (i.e. Maven and Gradle) as long as forking is enabled since DevTools need an isolated application classloader to operate properly. TIP: Automatic restart works very well when used with LiveReload. -<> for details. - -NOTE: If you use JRebel automatic restarts will be disabled in favor of dynamic class -reloading. Other devtools features (such as LiveReload and property overrides) can still -be used. +<> for details. If you use JRebel automatic +restarts will be disabled in favor of dynamic class 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 (