lib/awestruct/cli/auto.rb in awestruct-0.5.4 vs lib/awestruct/cli/auto.rb in awestruct-0.5.4.1
- old
+ new
@@ -42,12 +42,13 @@
end
generate_thread = Thread.new {
begin
+ # TODO: Have to figure something out for extensions and other files without an output path
+ # Probably add another method in engin to to do the regen w/o mucking with site.pages and run through things again
page = engine.page_by_output_path(path)
if ( page )
-
pages = engine.generate_page_and_dependencies( page )
if ( guard )
urls = pages.map do |p|
@base_url + p.url.to_s