Does your baby sleep with the door closed?

I just moved my 7 month old in to her own bedroom and I’m not sure if I should keep her door open or closed at night?

Should I keep it closed until we go to bed? Or all night or?