Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 8f266f2660c..71376b74cfa 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -74,6 +74,10 @@ Rails.application.configure do
# Do not log asset requests
config.assets.quiet = true
+ # Use 'listen' gem to watch for file changes and improve performance
+ # See: https://guides.rubyonrails.org/configuring.html#config-file-watcher
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+
# BetterErrors live shell (REPL) on every stack frame
BetterErrors::Middleware.allow_ip!("127.0.0.1/0")