Skip to content

Instantly share code, notes, and snippets.

@ebiansyah1402
Forked from qrush/Gemfile
Last active December 18, 2015 08:59
Show Gist options
  • Save ebiansyah1402/5757884 to your computer and use it in GitHub Desktop.
Save ebiansyah1402/5757884 to your computer and use it in GitHub Desktop.
source 'https://rubygems.org'
gem 'jekyll'
gem 'maruku'
gem 'rake'
gem 'sass'
gem 'compass'
gem 'coffee-script'
desc "compile and run the site"
task :default do
pids = [
spawn("jekyll"), # put `auto: true` in your _config.yml
spawn("compass watch"), # asuming we initiate compass on root folder
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment