Skip to content

Commit

Permalink
removed poorly implemented monkey patch for compiling draft posts
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Feb 12, 2012
1 parent 41c87be commit ba98467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 50 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -60,7 +60,7 @@ task :watch do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir) 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." puts "Starting to watch source with Jekyll and Compass."
system "compass compile --css-dir #{source_dir}/stylesheets" system "compass compile --css-dir #{source_dir}/stylesheets"
jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll --auto") jekyllPid = Process.spawn("jekyll --auto")
compassPid = Process.spawn("compass watch") compassPid = Process.spawn("compass watch")


trap("INT") { trap("INT") {
Expand All @@ -76,7 +76,7 @@ task :preview do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir) 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. Starting Rack on port #{server_port}"
system "compass compile --css-dir #{source_dir}/stylesheets" system "compass compile --css-dir #{source_dir}/stylesheets"
jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll --auto") jekyllPid = Process.spawn("jekyll --auto")
compassPid = Process.spawn("compass watch") compassPid = Process.spawn("compass watch")
rackupPid = Process.spawn("rackup --port #{server_port}") rackupPid = Process.spawn("rackup --port #{server_port}")


Expand Down
48 changes: 0 additions & 48 deletions plugins/preview_unpublished.rb

This file was deleted.

0 comments on commit ba98467

Please sign in to comment.