public
Last active

  • Download Gist
growl_generator.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
require 'growl'
 
module Jekyll
class GrowlGenerator < Generator
safe false
def generate(site)
Growl.notify 'Building...', :title => 'Jekyll'
end
end
class Site
alias jekyll_process process
def process
jekyll_process
Growl.notify 'Build complete', :title => 'Jekyll'
end
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.