watch--Watch for changes in a file

Add yourself to the list of watchers for a file. Watchers are notified via the notify script whenever an action they are interested in happens. See the section called “Mechanisms to track who is editing files”

watch options

-l

Process local directory only.

-R

Process directories recursively.

-a

Specify what actions to watch. One of edit,unedit,commit,all,none.