0.0.3 • Published 9 years ago

multiwatch v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 years ago

Multiwatch

Watching files and directories for executing multiple commands.

Getting Started

Install the Multiwatch command line tool via the Node.js package manager:

npm install multiwatch

Use the -g option to install Multiwatch globally.

To watch for changes on a single file, use the following command:

multiwatch file1.txt --execute 'echo "File 1 changed."'

You can also watch multiple files or directories:

multiwatch *.txt --execute 'echo "Some txt file changed."' file1.txt file2.txt --execute 'echo "File 1 or 2 changed."'

The following command watches the text directory, including sub directories, for changes on all txt files.

multiwatch text/**/*.txt --execute 'echo "Some txt file in text changed."'

multiwatch text --execute 'echo "Something in text changed."'

Thanks

Thanks to @paulmillr and contributors for creating the chokidar library and fixing common issues on OS X with fs.watch().

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago