From 68fe5162b21da58d82049e5dc460138fdd4c005c Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 27 Jul 2023 11:34:15 -0300 Subject: [PATCH] Fix "rake server" --- Rakefile.rb | 1 + 1 file changed, 1 insertion(+) 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