Basically the detector lights up, anytime it detects a photon passing through the slit. And this light is then sent out to the environment.
If someone is looking at the screen, and sees an interference pattern emerge, then they can know, nobody was looking at the slit. Alternatively, if no...