1

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?

OldTroll
  • 773
  • 6
  • 22
Ben Hogan
  • 149
  • 1
  • 8

2 Answers2

1

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

Shtirlic
  • 692
  • 1
  • 6
  • 14
0

Do this in your app:

enable :reload_templates

Otherwise template reloading is only enabled in development mode.

Konstantin Haase
  • 25,687
  • 2
  • 57
  • 59