diff --git a/Rakefile.rb b/Rakefile.rb index cdc0b99..66b369c 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -13,6 +13,7 @@ load "tasks/nanoc.rake" desc "Serve the website on localhost" task :server do require "server" + build_dir = Ryo.from(YAML.load_file("./nanoc.yaml")).output_dir s = Server.for_dir(build_dir) s.start(block: true) rescue Interrupt