Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Watch file for changes, then exit.
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
.gitignore
README.md
package.json

README.md

watch-file

Shell utility for watching file changes.

Intended to be used like:

while watch-file test.c; do gcc test.c -o test && ./test; done

Installation

Install npm. (Comes with Node.js).

npm install -g watch-file

Usage

watch-file <files...>

Wait until one of the files changes, then exit.

Something went wrong with that request. Please try again.