I went through that in my second pregnancy, when we found out we were having our second baby girl. We decided to find out at the scan because we knew it would take some getting used to. With our first baby we didn't find out the gender until the birth, and it was lovely to have a girl, but we wanted one of each overall, so the second girl kind of killed that dream.
We got over it though, slowly but surely. By the time she was born it didn't even matter anymore, we loved her just as much as our eldest and we didn't care that she wasn't a boy. That was supposed to be our last baby, but I got broody again and managed to talk my husband round to agreeing for a third. I wonder if he only agreed because he wanted another shot at getting a boy. That time though I KNEW it would be another girl, and I'd already made my peace with not having a boy from my last pregnancy, so I never expected it. So when we found out the gender of our third baby, another girl, I wasn't bothered. I know my husband was, but by that point it was the running joke that we only make girls, and it wasn't too hard to deal with. It was more a case of "well, what did we expect?!"
But when the baby's here it doesn't even matter. I don't think I've ever heard of a ace where someone is so upset about ten gender of their child that it continues after the newborn period. I wouldn't worry, I'm sure you'll come to terms with it and love him just as much.
My mil wanted a girl too, but she only had the one child. She used to say "well, maybe one day my son can give me a granddaughter", and we gave her three
I said to my husband that who knows, perhaps each of our daughters will have a son, and we'll be overrun with little boys. I know it's not the same, and I'm not pretending it is, but it's something