Ben Hogan
Ben Hogan

Reputation: 149

How do I make Rack::Reloader re-load 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?

Upvotes: 1

Views: 660

Answers (2)

Konstantin Haase
Konstantin Haase

Reputation: 25964

Do this in your app:

enable :reload_templates

Otherwise template reloading is only enabled in development mode.

Upvotes: 0

Related Questions