wat

watchme

A tool for watching changes in files. Written in coffee as a substitute for inotify, makes use of the fs.watch commands.

Showing:

Popularity

Downloads/wk

29

GitHub Stars

0

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

5

Size (min+gzip)

1.0KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Installation Build Status

Install via npm, node package manager. Example would be...

npm install -g watchme

Motivation

Well, frankly iNotify was annoying me. Along with most of the other mac alternatives. So I've created a watching app in coffeescript that will watch a target filehandle for any changes and rerun the given command when it senses them.

Example

Great for web development- just write a quick applescript to refresh Google Chrome (like here) and then run this script like...

watchme app --exec "osascript ~/refresh.applescript"

Usage

Watchme - CoffeeScript

Usage:
  watchme -c [ file | dir ]... -e "<cmd>"
  watchme -i <regex> -e "<cmd>"
  watchme -h | --help
  watchme -v | --version

Options:
  -e --exec     Prefix for the command to execute.
  -c --clear    Clear the screen on each trigger.
  -q --quiet    Do not display repeat trigger.
  -h --hidden   Include hidden files.
  -i --regex    Recursively match regex for files.
  -h --help     Show this screen.
  --version     Show version.

Contributions

...are always appreciated! If you want to contribute, then open an issue, fork the repo, implement your feature and back it up with tests and I will absolutely merge it in.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100