Skip to content

Commit 9dfd766

Browse files
committed
Merge pull request #24271 from CubeOfCheese
* pr/24271: Polish "Triggering a restart" formatting Document devtools restart with Maven/Gradle Closes gh-24271
2 parents 89642f0 + 10d3121 commit 9dfd766

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -708,9 +708,11 @@ Note that certain resources, such as static assets and view templates, <<using-b
708708
.Triggering a restart
709709
****
710710
As DevTools monitors classpath resources, the only way to trigger a restart is to update the classpath.
711-
The way in which you cause the classpath to be updated depends on the IDE that you are using.
712-
In Eclipse, saving a modified file causes the classpath to be updated and triggers a restart.
713-
In IntelliJ IDEA, building the project (`Build +->+ Build Project`) has the same effect.
711+
The way in which you cause the classpath to be updated depends on the IDE that you are using:
712+
713+
* In Eclipse, saving a modified file causes the classpath to be updated and triggers a restart.
714+
* In IntelliJ IDEA, building the project (`Build +->+ Build Project`) has the same effect.
715+
* If using a build plugin, running `mvn compile` for Maven or `gradle build` for Gradle will trigger a restart.
714716
****
715717

716718
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.

0 commit comments

Comments
 (0)