Something like
$ macwatch dir_or_file cmd_to_execude_when_arg1_is_changed
during which I do not have to write XML. I am aware of http://stackoverflow.com/questions/1515730/is-there-a-command-like-watch-or-inotifywait-on-the-mac. It can be a wrapper to launchd - I just want to be able to enter the above command.