diff options
author | Xavier Noria <fxn@hashref.com> | 2015-11-11 07:09:36 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2015-11-11 07:09:36 +0100 |
commit | d0ae8adfb715cc647b1d0c1c385a8e649cf87445 (patch) | |
tree | 4ebdb712cae3ae7cf3f131946816e16d3efb1d7d /guides | |
parent | 2af7338bdf32790a28e388a99dada84db0af1b5f (diff) | |
parent | 1583c8290a0bbb44ae684974e8fdd459f548f0f4 (diff) | |
download | rails-d0ae8adfb715cc647b1d0c1c385a8e649cf87445.tar.gz rails-d0ae8adfb715cc647b1d0c1c385a8e649cf87445.tar.bz2 rails-d0ae8adfb715cc647b1d0c1c385a8e649cf87445.zip |
Merge branch 'fxn-master'
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 28388e4957..ee3f742367 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -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', '~> 3.0.4' +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). |