An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.6% on proxy.golang.org

proxy.golang.org : github.com/thimc/watch

Command watch runs a command when a set of files changes. Usage: Watch works by periodically checking the status of the specified files using os.Stat. When a change is detected (e.g., modification time or file size), the command specified by the user is executed. To save system resources, a delay is used (specified in seconds), which allows watch to intermittenly check for file changes. This approach also prevents multiple rapid executions if several changes are made rapidly. The pattern (e.g., '*.go', '*' or a file name) specifies which files to watch. If the pattern is meant to be globbed it needs to be quoted to prevent the shell from interpreting it. Watch only takes one pattern as an argument. The command to be executed needs to exist in `$PATH` or a full file path is required. If one or more unescaped `%` exists in the arguments list it will be replaced with the file path of the file that was modified.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/thimc/watch
Keywords: cli , cross-platform , unix , watch-files
License: MIT
Latest release: 10 days ago
Namespace: github.com/thimc
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 10 days ago