lib/reveal-ck/commands/serve.rb in reveal-ck-3.9.0 vs lib/reveal-ck/commands/serve.rb in reveal-ck-3.9.1
- old
+ new
@@ -39,15 +39,15 @@
PrintBanner.new(doc_root, port, host, slides_file, ui).run
end
def listen_to_reload
ui.message('Getting Ready to Reload Browsers.')
- ListenToReloadBrowser.new(ui).run
+ ListenToReloadBrowser.new(ui, output_dir).run
end
def listen_to_rebuild
ui.message('Getting Ready to Rebuild Slides.')
- ListenToRebuildSlides.new(ui) do
+ ListenToRebuildSlides.new(ui, slides_file) do
rebuild_slides
end.run
end
def start_web_server