xb4dc0d3 / go-notify

The inotify wrapper using tmux as intermediary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go-Notify

The inotify wrapper using tmux as intermediary

Based on: https://pkg.go.dev/github.com/fsnotify/fsnotify

How to

Build

$ git clone https://github.com/xb4dc0d3/go-notify
$ go build -o go-notify .

Run

  1. Watch the /tmp directory
$ ./go-notify attach /tmp
  1. Watch the /tmp directory and attach to tmux session with name window-tmp
$ /go-notify attach-tmux /tmp window-tmp

About

The inotify wrapper using tmux as intermediary


Languages

Language:Go 100.0%