开发者

How do I make Rack::Reloader re-load changes to haml files?

开发者 https://www.devze.com 2022-12-26 20:07 出处:网络
开发者_开发问答My jruby rack sinatra compass haml app correctly reloads changes to *.rb files, but does not detect changes to *.haml files.

开发者_开发问答My jruby rack sinatra compass haml app correctly reloads changes to *.rb files, but does not detect changes to *.haml files.

Is this compass doing some caching or a limitation of Rack::Reloader? Any pointers to how to fix?


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


Do this in your app:

enable :reload_templates

Otherwise template reloading is only enabled in development mode.

0

精彩评论

暂无评论...
验证码 换一张
取 消