Baby gate on baby’s door?

So my daughter is 15 months and sleeping in her toddler bed in her room. But she recently learnt how to open doors and sometimes will wake up and wonder to the living room(while we are up) I have a hard time leaving her in room to sleep because I don’t want to close her door and don’t want her wondering during the night. Do I need to put a baby gate on her bedroom door? Anyone else do this? What about during the day isn’t the baby gate just annoying and in the way?