mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 03:10:48 +08:00
调整自动更新 无需重启rails s 服务
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user