lib/ember/appkit/rails/sprockets/processed_asset.rb in ember-appkit-rails-0.2.2 vs lib/ember/appkit/rails/sprockets/processed_asset.rb in ember-appkit-rails-0.3.0
- old
+ new
@@ -14,10 +14,10 @@
end
private
def _make_ember_application_template_stale(pathname)
- if pathname.to_s =~ /ember-appkit-rails.+\/app\/assets\/javascripts\/templates\/application.hbs/
+ if pathname.to_s =~ /(ember-appkit-rails.+\/app\/assets\/javascripts\/templates\/application.hbs)|(.*\.erb)/
def self.fresh?(environment)
false
end
end
end