diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-13 09:19:58 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-13 09:29:18 +0100 |
commit | cd3033eb627f408b71a7adf98c350e2c01115c33 (patch) | |
tree | 6acb4271c4e6040fb656ed0247c0daa12a888254 /railties/guides/source | |
parent | 148d15d8244f72e2f5b3f2cc9087a43f9e35075f (diff) | |
download | rails-cd3033eb627f408b71a7adf98c350e2c01115c33.tar.gz rails-cd3033eb627f408b71a7adf98c350e2c01115c33.tar.bz2 rails-cd3033eb627f408b71a7adf98c350e2c01115c33.zip |
Add config.file_watcher so developers can provide their own watchers (for instance, hooking on fsevents).
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/configuring.textile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 8cf88cf71f..f94d0ba4e5 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -82,6 +82,8 @@ NOTE. The +config.asset_path+ configuration is ignored if the asset pipeline is * +config.encoding+ sets up the application-wide encoding. Defaults to UTF-8. +* +config.file_watcher+ the class used to detect file updates in the filesystem when +config.reload_classes_only_on_change+ is true. Must conform to +ActiveSupport::FileUpdateChecker+ API. + * +config.filter_parameters+ used for filtering out the parameters that you don't want shown in the logs, such as passwords or credit card numbers. * +config.force_ssl+ forces all requests to be under HTTPS protocol by using +Rack::SSL+ middleware. @@ -98,7 +100,7 @@ NOTE. The +config.asset_path+ configuration is ignored if the asset pipeline is * +config.preload_frameworks+ enables or disables preloading all frameworks at startup. Enabled by +config.threadsafe!+. Defaults to +nil+, so is disabled. -* +config.reload_classes_only_on_change+ enables or disables reloading of classes only when tracked files change. By default tracks everything on autoload paths and is set to true. +* +config.reload_classes_only_on_change+ enables or disables reloading of classes only when tracked files change. By default tracks everything on autoload paths and is set to true. If +config.cache_classes+ is true, this option is ignored. * +config.reload_plugins+ enables or disables plugin reloading. Defaults to false. |