mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Polish note about Maven/Gradle restarts
See gh-24271
This commit is contained in:
parent
9dfd766da8
commit
4f95486822
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user