Fix "rake server"
This commit is contained in:
parent
d5992fa4e9
commit
68fe5162b2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue