summaryrefslogtreecommitdiffstats
path: root/config/initializers/zeitwerk.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-12-21 01:36:45 +0000
committerGo MAEDA <maeda@farend.jp>2022-12-21 01:36:45 +0000
commitf376fb68673bb74175943a9f37e7f9bb442bf155 (patch)
tree8f164facd080d2962c15d10925681568cc3c1820 /config/initializers/zeitwerk.rb
parentf094471ff51bf6c9984fd30e54b27925b0616d2d (diff)
downloadredmine-f376fb68673bb74175943a9f37e7f9bb442bf155.tar.gz
redmine-f376fb68673bb74175943a9f37e7f9bb442bf155.zip
Modifying the source code of a plugin does not reload it after r21295 ( #36273).
Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@21992 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/initializers/zeitwerk.rb')
-rw-r--r--config/initializers/zeitwerk.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/zeitwerk.rb b/config/initializers/zeitwerk.rb
index f5630b3ee..ab86b28e2 100644
--- a/config/initializers/zeitwerk.rb
+++ b/config/initializers/zeitwerk.rb
@@ -2,6 +2,7 @@
lib = Rails.root.join('lib/redmine')
Rails.autoloaders.main.push_dir lib, namespace: Redmine
+Rails.application.config.watchable_dirs[lib] = [:rb]
IGNORE_LIST = [
'wiki_formatting/textile/redcloth3.rb',