Skip to content

Commit 359b508

Browse files
committed
Document devtool property file profile restrictions
Closes gh-19972
1 parent 6a4d98a commit 359b508

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,13 @@ For example, to configure restart to always use a <<using-boot-devtools-restart-
903903
spring.devtools.reload.trigger-file=.reloadtrigger
904904
----
905905

906-
NOTE: Profiles activated in `.spring-boot-devtools.properties` will not affect the loading of <<spring-boot-features.adoc#boot-features-external-config-profile-specific-properties, profile-specific configuration files>>.
906+
[NOTE]
907+
====
908+
Profiles are not supported in devtools properties/yaml files.
909+
910+
Any profiles activated in `.spring-boot-devtools.properties` will not affect the loading of <<spring-boot-features.adoc#boot-features-external-config-profile-specific-properties, profile-specific configuration files>>.
911+
Profile specific filenames (of the form `spring-boot-devtools-<profile>.properties`) and `spring.profile` sub-documents in YAML files are not supported.
912+
====
907913

908914

909915

0 commit comments

Comments
 (0)