Sounds good to me. I'll give this a test when I get the opportunity. Thanks for your contributions!  

Cheers,  

Ben


On Wednesday, 6 February 2013 at 12:05 PM, Daniel Heath wrote:

> In lib/bonsai/exporter.rb:
> > @@ -112,19 +112,23 @@ def copy_assets > end > end > > - def generate_css > - Dir["#{Bonsai.root_dir}/public/**/*.{less,sass,scss}"].each do |cssfile| > - css = Tilt.new(cssfile).render > - path = "#{File.dirname(cssfile)}/#{File.basename(cssfile, ".*")}.css" > - > - File.open(path, "w") {|file| file.write(css) } > + > + def generate_assets > + Dir["#{Bonsai.root_dir}/public/**/*.{less,sass,scss,coffee}"].each do |file| > + begin  
> Yeah - whereas previously, if an error occurred, an (unpredictable) selection of your files won't be written/updated.
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/benschwarz/bonsai/pull/35/files#r2902343).  
>  
>  
>