gulp-notify icon indicating copy to clipboard operation
gulp-notify copied to clipboard

Doesn't work under Tmux

Open girvo opened this issue 9 years ago • 2 comments

Hi there,

As per issue #70, gulp-notify doesn't work under tmux correctly. According to that issue, it's because of terminal-notifier not handling it properly, gulp-notify uses I assume? I've updated to the latest gulp-notify, but the issue still exists despite terminal-notifier reporting it as fixed: https://github.com/alloy/terminal-notifier/issues/115

Any ideas?

Edit: Actually, I've found how to fix it -- for those using Tmux on OS X, you'll need to run brew up && brew install reattach-to-user-namespace, then add this line to your ~/.tmux.conf file:

set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"

I found instructions from here: https://github.com/dylang/grunt-notify/issues/92

girvo avatar Mar 12 '15 01:03 girvo