This is the tmux notifier I use for spook (a guard replacement - eg. watch for changes and run something). Clone this gist to:
~/.spook/notifiers/tmux
like so:
cd ~
git clone https://gist.github.com/fc8e04acef49999fc5c9.git ~/.spook/notifiers/tmux
and you're good to go.