From 3a845c9aa99295464c46c1ea79c62b63a9ee318c Mon Sep 17 00:00:00 2001 From: Robbie Trencheny Date: Sat, 9 Mar 2019 17:28:05 -0800 Subject: [PATCH] Output a trace if exception happens during Jekyll build --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 10f2c5d8566..20aba5bf915 100644 --- a/Rakefile +++ b/Rakefile @@ -92,7 +92,7 @@ task :preview, :listen do |t, args| raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir) puts "Starting to watch source with Jekyll and Compass. Starting Rack on port #{server_port}" system "compass compile --css-dir #{source_dir}/stylesheets" unless File.exist?("#{source_dir}/stylesheets/screen.css") - jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll build --watch --incremental") + jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll build -t --watch --incremental") compassPid = Process.spawn("compass watch") rackupPid = Process.spawn("rackup --port #{server_port} --host #{listen_addr}")