Hi all, I've been using Sass (and Haml) for a while now and I'm a very happy user. Thanks for all the work you guys have put in it.
Recently I came across livereload (http://github.com/mockko/ livereload). Really useful tool for any web developer. It actively monitors your files and reloads your page or assets without touching your browser manually. This works best for normal stylesheets and javascript files where it is just a reload of the specific asset file. For Sass this is different though. The whole page has to reload to update the stylesheets. I have been looking into this but I haven't seen a way around this. It seems that Sass needs a complete page request to generate the css files. For example, I removed the css files and did a curl request to just get the css page. This resulted in a 404. So my question is, is there a way to have Sass regenerate new css files solely based on a request of a css file? Say localhost:/3000/ stylesheets/screen.css?new_time_stamp_here . If not, what would be the fastest way to regenerate the Sass file. Currently, using Compass, I just call a command line command : `compass compile` from within the Ruby process, but this can be done faster I hope/assume. Looking forward to any new insights. Cheers, Jeroen NB I'm using Sass with Compass, but I'm assuming the root cause/ question lies with Sass. -- 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.
