Sidekiq 在 Docker 开发环境中启用 Zeitwerk 后无法启动

Tomorrow, I will work on one plugin so at the same time I will take a look on automatic reload :slight_smile:

4 个赞

@kris.kotlarek Any update on it? :smile:

1 个赞

I only find out that Zeitwerk is not reloading engines code.
I found some answer here It does not appear to be reloading the code on changes · Issue #35618 · rails/rails · GitHub
And on StackOverflow I found a recommendation to change back to :classic autoloader which is not our goal (https://stackoverflow.com/questions/31828377/how-to-reload-helpers-on-rails-mountable-engine)
We will find out a way to reload engines, I will try to contact Zeitwerk authors for advice.

6 个赞

嘿!澄清一下,在 Zeitwerk 的早期 WIP 版本中,引擎曾使用不同的加载器进行加载,但很快改为由应用程序的同一个加载器管理,所有内容都会被重新加载。

我在这方面能帮上什么忙吗?

5 个赞

我相信 Kris 已经修复了我们遇到的大部分问题。如果我们在任何问题上卡住,一定会随时联系您。总体来说,进展非常顺利!非常感谢您为 Zeitwerk 所做的工作!!

6 个赞