Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
2ac18a33
Commit
2ac18a33
authored
Nov 13, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a note to define what triggers a Devtools change
Closes gh-4453
parent
b09d0e1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
using-spring-boot.adoc
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+12
-5
No files found.
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
2ac18a33
...
...
@@ -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.
<<using-boot-devtools-livereload,See below>> 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.
<<using-boot-devtools-livereload,See below>> 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 (
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment