lib/awestruct/cli/auto.rb in awestruct-0.5.6.beta4 vs lib/awestruct/cli/auto.rb in awestruct-0.5.6.beta5

- old
+ new

@@ -44,11 +44,14 @@ end generate_thread = Thread.new { begin if ( File.extname(path) == '.sass' || File.extname(path) == '.scss' ) - # TODO use sass here, eventually + # TODO use sass here, eventually, as soon as I can figure out how to get it and sprites to work ::Compass::Commands::UpdateProject.new(engine.site.dir, {}).perform + # fixes the nil later on, there's an outstanding bug that css + # pages aren't output in the correct directory + pages = [] else page = engine.page_by_source_path(path) pages = [] if ( page ) pages = engine.generate_page_and_dependencies( page )