Yes, that would be perfect, if the update is done when the rails app
starts.

Maxime

On Dec 11, 4:19 am, "Mislav Marohnić" <[EMAIL PROTECTED]>
wrote:
> How about injecting the `update_stylesheets` call with `after_initialize` in
> Rails 2.0 (if that's even 
> possible)http://api.rubyonrails.org/classes/Rails/Configuration.html#M001587
>
> On Dec 10, 2007 8:48 PM, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> > Maxime, when are you expecting the stylesheets to update? In production
> > mode, they never automatically update, and it looks like that's the mode
> > you're running in.
>
> > Mislav, no, they still never auto-update in production mode. If we can
> > find a way to make them run once when Rails starts up, while still properly
> > reading options, that would be great, but I haven't been able to find
> > something like that yet (although I haven't tried terribly hard).
>
> > - Nathan
>
> > On Dec 10, 2007 9:19 AM, Mislav Marohnić <[EMAIL PROTECTED]>
> > wrote:
>
> > > On Dec 10, 2007 5:11 PM, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> > > > I can't reproduce this.
>
> > > Wait, this was fixed? I still have "Sass::Plugin.update_stylesheets" in
> > > each of my deployment recipes :-/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to