matthewdargan / watch

Run a command each time any file in the current directory is written

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Watch

Watch runs a command each time any file in the current directory is written.

Usage:

watch [-r] cmd [args...]

The -r flag causes watch to monitor the current directory and all subdirectories for modifications.

Examples

Run tests on file changes in the current directory:

$ watch go test ./...

Run tests on file changes recursively from the current directory:

$ watch -r go test ./...

About

Run a command each time any file in the current directory is written

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Nix 52.5%Language:Go 47.5%