Skip to content
/ maji Public

yet another watcher πŸ‘€

Notifications You must be signed in to change notification settings

tomill/maji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

maji

maji is a simple command line tool to watch file changes using polling.

Usage

maji [OPTIONS] [<dir>...] -- <command>

<dir>      Directories to watch. (default: .)
<command>  Command to run when an event fires.

Options:
      --dir=     Directories to watch. (default: .)
  -x, --exclude= Directory/File to ignore.
  -h, --help     Show this help message

Examples:

$ maji -- make test

$ maji src -x build -- make build

$ maji -- "curl localhost:8080 | jq ."

Install

go get -u github.com/tomill/maji

Description

This command was written as a go version of tokuhirom's perl5 App-watcher. Unlike gomon, this uses simple polling (by radovskyb/watcher) instead of inotify. That is it works with NFS file system.

FAQ

What does "maji" mean?

"Maji" measn "seriously" in Japanese and "Maji maji" means "watching carefully πŸ‘€". So maji watches files pretty seriously.

License

MIT

About

yet another watcher πŸ‘€

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages