Skip to content

Instantly share code, notes, and snippets.

@tatey
Created July 26, 2010 02:23
Show Gist options
  • Save tatey/490101 to your computer and use it in GitHub Desktop.
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