Make sure the terminal notifier is installed. Install it wia brew install terminal-notifier
command.
The script assumes the iTerm is installed. Go get it, or edit the npm-update-notifier.sh
for your need.
- Put
notify-update-npm.sh
to your~/bin/
directory - Put
notify.update.npm.plist
to your~/Library/LaunchAgents/
directory - Run
launchctl load ~/Library/LaunchAgents/notify.update.npm.plist
This script is run twice a day at 11 AM & 4 PM.
Based on Based on Chris Streeters' brew-update-notifier.sh
work from https://gist.github.com/streeter/3254906