Permalink
Browse files

`rake server` now does both jekyll and compass watching. Fixes #152

  • Loading branch information...
1 parent c41efa8 commit 819044b66c3be1cc3d4b758add7703edbb2419d2 @davatron5000 davatron5000 committed Mar 15, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 Rakefile
View
@@ -13,8 +13,7 @@ end
desc 'Start server with --auto'
task :server => :clean do
- compass
- jekyll('--server --auto')
+ jekyll_compass
end
desc 'Check if site will run on Github pages'
@@ -64,3 +63,7 @@ end
def compass(opts = '')
sh 'compass compile -c config.rb --force ' + opts
end
+
+def jekyll_compass
+ sh 'compass watch & jekyll --server --auto'
+end

0 comments on commit 819044b

Please sign in to comment.