Detection of surface director reorientation in a nematic liquid crystal