The inotify wrapper using tmux as intermediary
Based on: https://pkg.go.dev/github.com/fsnotify/fsnotify
$ git clone https://github.com/xb4dc0d3/go-notify
$ go build -o go-notify .
- Watch the
/tmp
directory
$ ./go-notify attach /tmp
- Watch the
/tmp
directory and attach to tmux session with namewindow-tmp
$ /go-notify attach-tmux /tmp window-tmp