Snippets

Does anyone know why whenever I edit a snippet it doesn’t show up on the
site until I open the layout its used in and save that file again?

Changing a snippet should cause the entire cache to be cleared. We will
write some specs to verify this. Barring that, you can always click
“Clear page cache” on the Pages tab.

Sean

I have just confirmed that clicking “Clear page cache” does not cause
the
snippet to be updated on the site. The only thing I can do to get the
snippet updated is to re-save the layout that the snippet is included
in.
I’m not sure if it matters but I’m running in development mode using
mongrel
on OSX 10.5. If I can help out at all with this issue, I would be happy
to,
just point me in the right direction.

I’m using 0.6.4 the gem version.

Yep, this is fixed in with the latest trunk release for me.
–Tom

What version are you at. I had to upgrade to trunk to fix this.
–Tom

Cool, Do you run any production sites on the trunk and have you had any
headaches doing so? How would you go about upgrading from the gem to
the
trunk?

Inside your Radiant project, run rake radiant:freeze:edge.

Sean