Fix Vagrant's Hot Reloading issues in development
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
@ -69,6 +69,8 @@ Rails.application.configure do
|
||||
BetterErrors::Middleware.allow_ip! ENV['TRUSTED_IP'] if ENV['TRUSTED_IP']
|
||||
|
||||
# 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
|
||||
# routes, locales, etc. This feature depends on the listen gem and might not
|
||||
# work within a Vagrant environment.
|
||||
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||
config.file_watcher = ActiveSupport::FileUpdateChecker
|
||||
end
|
||||
|
Reference in New Issue
Block a user