Skip to content

Instantly share code, notes, and snippets.

@tatey
Created August 15, 2010 13:35
Show Gist options
  • Save tatey/525495 to your computer and use it in GitHub Desktop.
Save tatey/525495 to your computer and use it in GitHub Desktop.
require 'growl'
module Jekyll
class GrowlHook < Hook
safe false
sequence :pre, :post
def run(site, sequence)
case sequence
when :pre
Growl.notify 'Building...', :title => 'Jekyll'
when :post
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