Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: gh-pages
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.47 kb
desc 'Start Jekyll server and watch Sass/Bourbon files'
task :server do
puts "Starting the Jekyll server and watching Sass files."
jekyllPid = Process.spawn('jekyll --server')
sassPid = Process.spawn('sass --watch stylesheets/scss:stylesheets -r ./stylesheets/scss/bourbon/lib/bourbon.rb')
trap("INT") {
[jekyllPid, sassPid].each { |pid| Process.kill(9, pid) rescue Errno::ESRCH }
exit 0
}
[jekyllPid, sassPid].each { |pid| Process.wait(pid) }
end
Jump to Line
Something went wrong with that request. Please try again.