Navigation Menu

Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add minor notice on how the local cache must be cleared when the value of precompile is changed.

The programatical solution to this is to condition the cache on the value of this setting. Right now it's only a file fingerprint, but if this can be changed to a union of the fingerprint and the configuration that would fix it.
  • Loading branch information
sandstrom committed Feb 7, 2013
1 parent 587a55a commit 1f8c0ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -84,6 +84,8 @@ Default behavior for ember-rails is to precompile handlebars templates only in p
If you don't want this behavior you can turn it off in your application configuration block :

config.handlebars.precompile = false

(Remember to clear the local sprockets cache if you change the value of precompile, by default at `tmp/cache/assets`)

Bundle all templates together thanks to Sprockets,
e.g create `app/assets/javascripts/templates/all.js` with:
Expand Down

0 comments on commit 1f8c0ae

Please sign in to comment.