Skip to content

Instantly share code, notes, and snippets.

@tatey
Created July 26, 2010 02:23
  • Star 8 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tatey/490101 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment