Lib/* doesn't get reloaded in development

Hi,

Am I right in thinking that whatever is in your lib/ folder doesn’t get
reloaded on each request in dev mode?

Jeroen

It depends on how you’ve required it. If you required it from the
environment then no, you need to restart. If it’s required in your
controllers and models then it should reload with them. I use the
environment approach myself.

Ian L. wrote:

It depends on how you’ve required it. If you required it from the
environment then no, you need to restart. If it’s required in your
controllers and models then it should reload with them. I use the
environment approach myself.

I haven’t required it anywhere, it’s just magically loaded from /lib

I’ll try requiring explicitly it from my controller instead then.
Thanks!

Jeroen