spring_reference/IX. ‘How-to’ guides/72.1. Reload static content.md

4 lines
563 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 72.1. 重新加载静态内容
Spring Boot有很多用于热加载的选项。使用IDE开发是一个不错的方式特别是需要调试的时候所有的现代IDEs都允许重新加载静态资源通常也支持对变更的Java类进行热交换。[Maven和Gradle插件](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#build-tool-plugins)也支持命令行下的静态文件热加载。如果你使用其他高级工具编写css/js并使用外部的css/js编译器那你就可以充分利用该功能。