0.4.0 • Published 10 years ago

rewatch v0.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Rewatch

Watch and execute command.

Install

Install rewatch with npm:

$ npm install rewatch -g

Usage

It is pretty simple, get the help menu:

$ rewatch -h
Usage:
    rewatch [files..] -c "[command]"

Options:
    -c, --command=<command>   a shell command
    -i, --interval=[ms]       interval micro seconds
    -d, --delay=[ms]          delay to execute command
    -s, --signal=[signal]     kill child process with signal
    -v, --version             print the version of vc
    -h, --help                display this message

Examples:
    $ rewatch *.js foo.css -c "make build"
    $ rewatch *.js foo.css -c "make build" -i 500

Changelog

2014-08-20 0.4.0

Remove -e option. Add -s option for kill child process.

$ rewatch *.js -c "node ./server.js" -s "SIGTERM"

2014-08-20 0.3.0

Fix global leak for subprocess. Add option -d and -e.

2014-02-09 0.2.2

Console.log the command.

2014-01-22 0.2.1

Bugfix for toNumber.

2014-01-22 0.2.0

Support for windows. Add options interval.

2014-01-22 0.1.1

Bugfix for context closure.

2014-01-22 0.1.0

First version.

License

MIT

0.4.0

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago