Skip to content

Commit

Permalink
Add Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Aug 16, 2013
1 parent aa45809 commit 97b085d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
desc "compile and run the site"
task :default do
pids = [
spawn("jekyll server -w"),
spawn("scss --watch _assets:stylesheets"),
spawn("coffee -b -w -o javascripts -c _assets/*.coffee")
]

trap "INT" do
Process.kill "INT", *pids
exit 1
end

loop do
sleep 1
end
end

0 comments on commit 97b085d

Please sign in to comment.