So if an error occurs, the file most likely won't be written / updated, and you'll need to check back in your terminal session to see the issue?   

Cheers,  

Ben


On Wednesday, 6 February 2013 at 11:46 AM, 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  
> If your workflow is 'make several changes' -> 'look at browser'?
> It's easier to tell which file failed to generate if only one file is missing from the page.  
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/benschwarz/bonsai/pull/35/files#r2902111).  
>  
>  
>