Merge pull request #7935 from opf/fix/use_listener_gem_again

Reactivate event base file checkers

[ci skip]
pull/8034/head
Oliver Günther 5 years ago committed by GitHub
commit dbbd148271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Gemfile
  2. 7
      Gemfile.lock
  3. 7
      config/environments/development.rb

@ -234,6 +234,8 @@ group :ldap do
end
group :development do
gem 'listen', '~> 3.2.1' # Use for event-based reloaders
gem 'faker'
gem 'letter_opener'
gem 'livingstyleguide', '~> 2.1.0'

@ -598,6 +598,9 @@ GEM
addressable (~> 2.3)
letter_opener (1.7.0)
launchy (~> 2.2)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
livingstyleguide (2.1.0)
minisyntax (>= 0.2.5)
redcarpet
@ -777,6 +780,9 @@ GEM
rainbow (3.0.0)
raindrops (0.19.0)
rake (13.0.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
rbtree3 (0.5.0)
rdoc (6.1.1)
recaptcha (5.1.0)
@ -1022,6 +1028,7 @@ DEPENDENCIES
ladle
launchy (~> 2.4.3)
letter_opener
listen (~> 3.2.1)
livingstyleguide (~> 2.1.0)
lograge (~> 0.10.0)
meta-tags (~> 2.11.0)

@ -41,11 +41,8 @@ OpenProject::Application.configure do
# Do not eager load code on boot.
config.eager_load = false
# File watcher
# using ActiveSupport::EventedFileUpdateChecker depends on listen which depends on fsevent
# which seems to be prone to creating zombie process (+200 of them) which can cause
# the process limit (on mac) to be reached which causes the system to need a reboot.
config.file_watcher = ActiveSupport::FileUpdateChecker
# Asynchronous file watcher
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
# Store uploaded files on the local file system (see config/storage.yml for options)
config.active_storage.service = :local

Loading…
Cancel
Save