Slow assets compilation in development mode

后端 未结 3 1247
庸人自扰
庸人自扰 2020-12-29 11:43

I have a large rails app with hundreds of coffee script files.

Sometimes when I make a tiny change in a coffeescript file or I switch the branch the whole assets are

3条回答
  •  庸人自扰
    2020-12-29 12:17

    Take a look at this middleware from the Discourse team. We've had great success with it in our rails 4 app -- took reload times down from a minute to 5 seconds in development.

提交回复
热议问题