Discharge in eye

Li

My LO has been getting over a cold . Monday she started having discharge in of her eyes . I called the pediatrician and they said it could be from cold since her eye isn’t red or swollen . They recommend warm compress throughout the day . Some days I don’t notice any discharge but then today it’s back . Has anyone else’s little one had this happen