Closed cimmanon closed 10 years ago
Ok, so apparently the problem isn't with bind/apply, but with changes to my template not being detected since it lives outside of the directories that get watched for changes. Switching to renderWithSplices appeared to make things work because the templates were reloaded with my application. I suppose this is expected behavior.
I have a set of templates being pulled in using
addTemplatesAt
that exist outside of my default template directory:I've setup a simple handler to render those templates like so:
If I attempt to use bind within my template, the content within the bind tag is removed from the template as expected. However, I am unable to apply it:
If I switch to using
renderWithSplices
, then bind works as expected: