Monday, December 03, 2012 (Mountain Lion Notification after SASS compiling)
I was tired of hitting refresh on my browser only to find out Compass/SASS CSS files had not yet been compiled.
To add a notification in Mountain Lion when your files are compiled, do the following:
sudo gem build notifompass.gemspec , this builds Notifompass into an installable gem file.sudo gem install --local notifompass-0.0.0.gem
EXCEPTIONS = [StandardError, ScriptError]begin
require "notifompass"
rescue *EXCEPTIONS
puts "You don't have notifompass gem installed."
begin
require "compass-growl"
rescue *EXCEPTIONS
puts "You don't have compass-growl installed either!"
end
end
Now, whenever your Compass/SASS files have compiled, you’ll be notified. Exciting stuff!

Posted in interweb
Powered by WordPress using the Minimal, Really Theme. Inspired by Things