From 00e281dce24891decc8b6002664f6c7e751bd079 Mon Sep 17 00:00:00 2001 From: "K. Siva Prasad Reddy" Date: Sun, 7 Aug 2016 07:49:35 +0530 Subject: [PATCH] Adding a Tip about the trigger-file reload mechanism After reading "Using a trigger file" section, my assumption was whenever the trigger-file is changed then application will be restarted, which is not the case. So adding a tip to explicitly specify after trigger-file is changed then application will restart only if there are any changes to reload. --- spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 86561ef4d035..0e5e3235ff7b 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -929,6 +929,8 @@ The trigger file could be updated manually, or via an IDE plugin. To use a trigger file use the `spring.devtools.restart.trigger-file` property. +TIP: When you update the trigger file then application will be restarted only if there are any changes to reload. + TIP: You might want to set `spring.devtools.restart.trigger-file` as a <> so that all your projects behave in the same way.