提交 7d2ae132 编写于 作者: X Xavier Noria

document the evented file system monitor opt-in in the config guide [ci skip]

上级 b685095f
......@@ -1149,3 +1149,25 @@ Disallow: /
To block just specific pages, it's necessary to use a more complex syntax. Learn
it on the [official documentation](http://www.robotstxt.org/robotstxt.html).
Evented File System Monitor
---------------------------
If the [listen gem](https://github.com/guard/listen) is loaded Rails uses an
evented file system monitor to detect changes when `config.cache_classes` is
false:
```ruby
group :development do
gem 'listen'
end
```
Otherwise, in every request Rails walks the application tree to check if
anything has changed.
On Linux and Mac OS X no additional gems are needed, but some are required
[for *BSD](https://github.com/guard/listen#on-bsd) and
[for Windows](https://github.com/guard/listen#on-windows).
Note that [some setups are unsupported](https://github.com/guard/listen#issues--limitations).
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册