Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 335 Bytes

README.md

File metadata and controls

20 lines (10 loc) · 335 Bytes

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.