You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/env/DevToolsHomePropertiesPostProcessor.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/env/DevToolsHomePropertiesPostProcessorTests.java
+52-27Lines changed: 52 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@
21
21
importjava.io.IOException;
22
22
importjava.io.OutputStream;
23
23
importjava.nio.file.Files;
24
+
importjava.util.Collections;
25
+
importjava.util.Map;
24
26
importjava.util.Properties;
25
27
26
28
importorg.junit.jupiter.api.BeforeEach;
@@ -47,12 +49,12 @@ class DevToolsHomePropertiesPostProcessorTests {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/using/devtools.adoc
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -285,6 +285,9 @@ For example, to configure restart to always use a <<using#using.devtools.restart
285
285
trigger-file: ".reloadtrigger"
286
286
----
287
287
288
+
By default, `$HOME` is the user's home directory.
289
+
To customize this location, set the `SPRING_DEVTOOLS_HOME` environment variable or the `spring.devtools.home` system property.
290
+
288
291
NOTE: If devtools configuration files are not found in `$HOME/.config/spring-boot`, the root of the `$HOME` directory is searched for the presence of a `.spring-boot-devtools.properties` file.
289
292
This allows you to share the devtools global configuration with applications that are on an older version of Spring Boot that does not support the `$HOME/.config/spring-boot` location.
0 commit comments