1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

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
This commit is contained in:
Go MAEDA 2022-12-21 01:36:45 +00:00
parent f094471ff5
commit f376fb6867
2 changed files with 2 additions and 0 deletions

View File

@ -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',

View File

@ -128,6 +128,7 @@ module Redmine
engine_cfg.paths.add 'lib', eager_load: true
engine_cfg.eager_load_paths.each do |dir|
Rails.autoloaders.main.push_dir dir
Rails.application.config.watchable_dirs[dir] = [:rb]
end
end
end