From 4cbbd48f18e8e13f3c709aab56f62f60c87230e9 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 11 Feb 2016 17:52:38 +0100 Subject: [PATCH] Polish documentation Closes gh-5131 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 18 ++++++++++-------- .../src/main/asciidoc/using-spring-boot.adoc | 4 +++- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 2960baa8d0..5b62b59fde 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -1963,17 +1963,19 @@ requests). To switch that on in a Spring Boot application you just need to set [[howto-reload-static-content]] === Reload static content -There are several options for hot reloading. Running in an IDE (especially with debugging -on) is a good way to do development (all modern IDEs allow reloading of static resources -and usually also hot-swapping of Java class changes). +There are several options for hot reloading. The recommended approach is to use +<> as it provides +additional development-time features such as support for fast application restarts +and LiveReload as well as sensible development-time configuration (e.g. template caching). -The <> module is also -available with support for fast application restarts and LiveReload. +Alternatively, running in an IDE (especially with debugging on) is a good way to do +development (all modern IDEs allow reloading of static resources and usually also +hot-swapping of Java class changes). Finally, the <> can -be configured to support running from the command line with reloading of static files. You -can use that with an external css/js compiler process if you are writing that code with -higher level tools. +be configured (see the `addResources` property) to support running from the command line +with reloading of static files. You can use that with an external css/js compiler process +if you are writing that code with higher level tools. 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 e5224c16df..b3b5478076 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -940,7 +940,9 @@ TIP: For a complete list of the properties that are applied see Applications that use `spring-boot-devtools` will automatically restart whenever files on the classpath change. This can be a useful feature when working in an IDE as it gives 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. +points to a folder will be monitored for changes. Note that certain resources such as +static assets and view templates <>. .Triggering a restart ****