On Thu, Jul 29, 2010 at 12:10 PM, Mislav Marohnić <[email protected] > wrote:
> Just noticed you said you use Compass. I've updated my > script<http://gist.github.com/484894> with > experimental Compass support for Rails apps. It pulls in the config found in > "config/compass.rb". Try if that works for you. > Cool thanks I'll try it. > > The approach you guys are taking with middleware is hackish and brittle. > What you want is to regenerate CSS files after each change, then they will > be available for direct web requests without any server tampering. You can > do that with my livereload implementation or by using `compass watch`. > I agree in being it more brittle. The only problem I see is that a livereload implementation will need a lot of regeneration logic. Eventually you will also need to support coffeescript and what not. In this case I think Sass should be doing that stuff and if it is brittle than we should we fix that. Maybe I'm wrong. I think I'll have to experiment more with `compass watch` and your implementation to see what gives the best experience. I would like to have it be really simple. > @Jeroen: I'll be interested in what you come up with. > I'll make it happen soon :) > > -- > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- 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.
