调整自动更新 无需重启rails s 服务
This commit is contained in:
parent
ff1e85cad5
commit
9c84856f99
|
@ -62,8 +62,8 @@ Rails.application.configure do
|
|||
|
||||
# Use an evented file watcher to asynchronously detect changes in source code,
|
||||
# routes, locales, etc. This feature depends on the listen gem.
|
||||
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||
|
||||
config.file_watcher = ActiveSupport::FileUpdateChecker
|
||||
config.reload_classes_only_on_change = false
|
||||
config.action_controller.perform_caching = true
|
||||
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
|
|
Loading…
Reference in New Issue