watch directory and execute command