diff --git a/config/initializers/000-development_reload_warnings.rb b/config/initializers/000-development_reload_warnings.rb index 7d81f417b89..78f5661b3c6 100644 --- a/config/initializers/000-development_reload_warnings.rb +++ b/config/initializers/000-development_reload_warnings.rb @@ -29,7 +29,8 @@ if Rails.env.development? && !Rails.configuration.cache_classes && Discourse.run Listen .to( *paths, - only: /\.rb|site_settings.yml$/, + # Aside from .rb files, this will also match site_settings.yml, as well as any plugin settings.yml files. + only: /(\.rb|settings.yml)$/, ignore: [/node_modules/], ) do |modified, added, removed| supervisor_pid = UNICORN_DEV_SUPERVISOR_PID