command
module
Version:
v0.1.12
Opens a new window with list of versions in this module.
Published: Sep 6, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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 ./...
Documentation
¶
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 ./...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.