diff --git a/Rakefile b/Rakefile index bdf1535119c..8df92944c02 100644 --- a/Rakefile +++ b/Rakefile @@ -60,7 +60,8 @@ task :preview, :listen do |t, args| listen_addr = args[:listen] || '127.0.0.1' listen_addr = '0.0.0.0' unless ENV['DEVCONTAINER'].nil? 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}" + puts "Starting to watch source with Jekyll and Compass." + puts "Now listening on http://localhost:#{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 -t --watch --incremental") compassPid = Process.spawn("compass watch")