Skip to content
Browse files

fixes issue #11

  • Loading branch information...
1 parent a4388c4 commit b76dfe0602606e219a5e61c4c317b7c52ae76fc2 Kellen Presley committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 picard/lib/picard/request_extensions.js
View
2 picard/lib/picard/request_extensions.js
@@ -220,7 +220,7 @@ var locals = {
_render_partial: function(name, scope, partial_scope){
var filename = Picard.env.root + Picard.env.views + '/' + name + '.haml'
var body
- if ( typeof template_cache[filename] == 'undefined' ) {
+ if ( typeof template_cache[filename] == 'undefined' || Picard.env.mode == 'development' ) {
body = fs.readFileSync(filename)
template_cache[filename] = haml(body.toString())
}

0 comments on commit b76dfe0

Please sign in to comment.
Something went wrong with that request. Please try again.