Watch for changes?
It occurs to me that watch
seems to be misnamed. periodic
seems much more apt. That aside, to make it more watch-y, would you be willing to accept a patch that provided a massive extension? What I want to do when I think watch
is something like this,
watch -f file -x "command"
watch -rf directory -x "command"
Such that when an inodes mtime is updated the command is run? The use case of this is like http://livereload.com/
for developing terminal applications.