Skip to content

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

License

Notifications You must be signed in to change notification settings

matthewdargan/watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published