Skip to content
/ watch Public
forked from reem/watch

watch shell utility for triggering commands on file changes

Notifications You must be signed in to change notification settings

desyncr/watch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Watch

Simple watch function to do a command whenever certain files change.

Simply source watch.zsh in your ~/.zshrc to get access to the watch command.

Docs

Usage:

watch <CMD> <FILES>

You can pass any command in quotes and you can pass any number of files either as a list or through using a glob pattern.

For instance, to watch all the C files in a directory and make whenever they change, you can just:

watch make **/*.c

About

watch shell utility for triggering commands on file changes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%