Highly sensitive real-time detection of phase change process based on photonic spin Hall effect