Browse Source

调整自动更新 无需重启rails s 服务

pull/347/head
kingChan 2 years ago
parent
commit
9c84856f99
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      config/environments/development.rb

+ 2
- 2
config/environments/development.rb View File

@@ -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…
Cancel
Save