Modifying the source code of a plugin does not reload it after r21295
|Assignee:||Go MAEDA||% Done:|
It seems that modifying the source code of a plugin in development mode does not reload it anymore.
For example, if you change the following file
In Redmine trunk r21295 does not reload.
In 4.2.2, it was reloaded.
If i change the source code of Redmine itself, it will be reloaded in trunk r21295 as well.
Has Zeitwerk support removed the Redmine plugin folder from monitoring?
#1 Updated by Takashi Kato about 1 month ago
After some research, I've found out that the directory settings monitored by Zeitwerk and monitored by the Reloader must be done respectively.
(In the code of Redmine itself, these settings done automatically by Rails.)
The attached patch will fix the problem(can be applied to r21991).
#5 Updated by Go MAEDA about 1 month ago
- Subject changed from Modifying the source code of the plugin does not reload it in trunk 21295 to Modifying the source code of a plugin does not reload it after r21295
- Target version changed from Candidate for next minor release to 5.0.5
- Affected version set to 5.0.0
Setting the target version to 5.0.5.