Fix "rake server"

This commit is contained in:
0x1eef 2023-07-27 11:34:15 -03:00
parent d5992fa4e9
commit 68fe5162b2

View file

@ -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