Skip to content

Instantly share code, notes, and snippets.

@compleatang
Forked from tatey/gist:525267
Created February 9, 2013 21:37
Show Gist options
  • Save compleatang/4747216 to your computer and use it in GitHub Desktop.
Save compleatang/4747216 to your computer and use it in GitHub Desktop.
require 'growl'
module Jekyll
class GrowlPreHook < Hook
safe false
sequence :pre
def run(site)
Growl.notify 'Building...', :title => 'Jekyll'
end
end
class GrowlPostHook < Hook
safe false
sequence :post
def run(site)
Growl.notify 'Build complete', :title => 'Jekyll'
end
end
end
@compleatang
Copy link
Author

TODO: Modify for pushover notifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment