mikaelbr / gulp-notify

gulp plugin to send messages based on Vinyl Files or Errors to Mac OS X, Linux or Windows using the node-notifier module. Fallbacks to Growl or simply logging
MIT License
592 stars 40 forks source link

Send notifications to tmux #102

Open hackel opened 8 years ago

hackel commented 8 years ago

I'm very often running gulp-notify on a remote server, almost always in a tmux session. It would be great if this configuration could be detected, and the notification sent with tmux display-message instead of notify-send. That way I can monitor gulp progress even while switched over to another tmux window.

mikaelbr commented 8 years ago

Hi! Thanks for your issue! That sounds like a cool idea. I know several other people also run node-notifier within a tmux session, so it would probably be handy. I'll see what I can do, but I'm not using tmux my self, so it's a bit hard to test and verify. But if you have the time, PR's are very welcome (code is located in https://github.com/mikaelbr/node-notifier). It should be fairly straight forward, I think.