1

我的 jruby rack sinatra compass haml 应用程序正确地重新加载了对 *.rb 文件的更改,但没有检测到对 *.haml 文件的更改。

这个指南针是在做一些缓存还是 Rack::Reloader 的限制?有关如何修复的任何指示?

4

2 回答 2

1

试试http://github.com/rkh/sinatra-reloader

于 2010-05-02T22:58:25.063 回答
0

Do this in your app:

enable :reload_templates

Otherwise template reloading is only enabled in development mode.

于 2010-06-09T15:29:00.377 回答