diff --git a/server/harp_blog.rb b/server/harp_blog.rb index 996bbe0..59b2f1c 100644 --- a/server/harp_blog.rb +++ b/server/harp_blog.rb @@ -206,7 +206,7 @@ class HarpBlog File.join(@path, *components) end - def root_data_path + def root_data_path path_for('public/_data.json') end diff --git a/server/server.rb b/server/server.rb index f3f5a6c..fe26151 100755 --- a/server/server.rb +++ b/server/server.rb @@ -100,7 +100,7 @@ after do if @wait_for_compilation compile.call else - fork &compile + fork(&compile) end end