Commit 4f954868 authored by Phillip Webb's avatar Phillip Webb

Polish note about Maven/Gradle restarts

See gh-24271
parent 9dfd766d
......@@ -715,8 +715,8 @@ The way in which you cause the classpath to be updated depends on the IDE that y
* If using a build plugin, running `mvn compile` for Maven or `gradle build` for Gradle will trigger a restart.
****
NOTE: As long as forking is enabled, you can also start your application by using the supported build plugins (Maven and Gradle), since DevTools needs an isolated application classloader to operate properly.
By default, the Gradle and Maven plugins fork the application process.
NOTE: If you are restarting with Maven or Gradle using the build plugin you must leave the `forking` set to `enabled`.
If you disable forking, the isolated application classloader used by devtools will not be created and restarts will not operate properly.
TIP: Automatic restart works very well when used with LiveReload.
<<using-boot-devtools-livereload,See the LiveReload section>> for details.
......
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