Does this package cache the template?
Opened this issue · 6 comments
I am using meteor-handlebars-server
to render email template in server and send it to users. But I randomly get email templates that is outdated a long time ago. This issue persists for a while until it does not all of a sudden, then it comes back. This happens locally and also in production.
I am using this package like this (to be precise, Telescope is):
Handlebars.templates['myEmailTemplate']({//my variables//});
It is very strange. Any suggestions?
I can confirm I've also been running into this issue locally.
Actually it might be a false alert, at least in my specific case. I forgot I was replacing the template with another one, which is why my modifications on the original template weren't having any effect. @sungwoncho are you sure you're working on the active template?
Sorry to hear that it's a false alert. I am working with an active template.
Well, I did end up running into the issue when deploying, actually. But yeah it's hard to pin down what's going on exactly.
Any thoughts on what I can do Sacha?
Sent from Outlook
On Mon, Dec 14, 2015 at 4:32 AM -0800, "Sacha Greif" notifications@github.com wrote:
Well, I did end up running into the issue when deploying, actually. But yeah it's hard to pin down what's going on exactly.
—
Reply to this email directly or view it on GitHub.
Use this excellent fork instead: https://atmospherejs.com/astrocoders/handlebars-server https://github.com/Astrocoders/meteor-handlebars-server