gulp-notify
gulp-notify copied to clipboard
Doesn't work under Tmux
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