Skip to content

Instantly share code, notes, and snippets.

@peterdavidhamilton
Forked from tatey/growl_generator.rb
Created August 24, 2011 14:51
Show Gist options
  • Save peterdavidhamilton/1168240 to your computer and use it in GitHub Desktop.
Save peterdavidhamilton/1168240 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