aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 6834e4a3..caec0ce8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,5 @@
require "rubygems"
-require "bundler"
-Bundler.setup
+require "bundler/setup"
port = "4000" # preview project port eg. http://localhost:4000
site = "public" # compiled site directory
@@ -104,7 +103,7 @@ end
desc "Watch the site and regenerate when it changes"
task :watch do
- system "trap 'kill $jekyllPid $guardPid $compassPid' Exit; jekyll --auto & jekyllPid=$!; sleep 0.5; compass watch & compassPid=$!; guard & guardPid=$!; wait"
+ system "trap 'kill $jekyllPid $guardPid $compassPid' Exit; jekyll --auto & jekyllPid=$!; compass watch & compassPid=$!; guard & guardPid=$!; wait"
end
desc "generate and deploy website via rsync"