Automatic command execution upon file changes based on WatchDog