Skip to content

Commit 5960d2d

Browse files
committed
Merge branch '2.7.x' into main
2 parents 0e71d80 + 9628507 commit 5960d2d

File tree

2 files changed

+6
-2
lines changed
  • spring-boot-project
    • spring-boot-docs/src/docs/asciidoc/using
    • spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc

2 files changed

+6
-2
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ Note that certain resources, such as static assets and view templates, <<using#u
8787
.Triggering a restart
8888
****
8989
As DevTools monitors classpath resources, the only way to trigger a restart is to update the classpath.
90-
The way in which you cause the classpath to be updated depends on the IDE that you are using:
90+
Whether you're using an IDE or one of the build plugins, the modified files have to be recompiled to trigger a restart.
91+
The way in which you cause the classpath to be updated depends on the tool that you are using:
9192
9293
* In Eclipse, saving a modified file causes the classpath to be updated and triggers a restart.
9394
* In IntelliJ IDEA, building the project (`Build +->+ Build Project`) has the same effect.

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/running.adoc

+4-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ The preceding example sets the value of the `example` project property to `custo
122122

123123
[[running-your-application.reloading-resources]]
124124
== Reloading Resources
125-
If devtools has been added to your project it will automatically monitor your application for changes.
125+
If devtools has been added to your project it will automatically monitor your application's classpath for changes.
126+
Note that modified files need to be recompiled for the classpath to update inorder to trigger reloading with devtools.
127+
For more details on using devtools, refer to {spring-boot-reference}#using.devtools.restart[this section of the reference documentation].
128+
126129
Alternatively, you can configure `bootRun` such that your application's static resources are loaded from their source location:
127130

128131
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]

0 commit comments

Comments
 (0)