From 359b508077aeab9457777034151b2c440b1977da Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Sun, 19 Apr 2020 17:46:24 -0700 Subject: [PATCH] Document devtool property file profile restrictions Closes gh-19972 --- .../src/main/asciidoc/using-spring-boot.adoc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 6b91824bc86c..e59738fb490f 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -903,7 +903,13 @@ For example, to configure restart to always use a <>. +[NOTE] +==== +Profiles are not supported in devtools properties/yaml files. + +Any profiles activated in `.spring-boot-devtools.properties` will not affect the loading of <>. +Profile specific filenames (of the form `spring-boot-devtools-.properties`) and `spring.profile` sub-documents in YAML files are not supported. +====