How can I force my plugin to reload with each request?

后端 未结 6 506
离开以前
离开以前 2020-12-17 14:43

As I understand it, plugins are not reloaded in Rails with each request in development mode. Which makes sense, as generally you add plugins to your app and it\'s the app yo

6条回答
  •  自闭症患者
    2020-12-17 14:49

    I do this by using the shotgun gem.

    gem install shotgun

    cd /path/to/rails/app

    shotgun

    slower response time, but reloading all the rails code, not wasting time to write autoload_paths

提交回复
热议问题