Rails auto-reloading plug in development mode

前端 未结 1 473

I am trying to have a plugin I am developing auto-reload every time I change my code, emulating the same auto-reloading that happens normally in Rail\'s development mode. M

1条回答
  •  -上瘾入骨i
    2021-01-15 07:00

    The console definitely doesn't work like a mongrel. All of the techniques you're using are made to reload on every request, which is akin to every time you start up the console.

    There isn't a way to reload code in the console without calling reload!.

    0 讨论(0)
提交回复
热议问题