Not long after letting them know about the pregnancy/birth, I found a suspicious/hidden hiring post from the CEO for a position that mirrored mine although we were "not hiring".
Within the next month or two I had a few suspicious interactions with the cofounder over things he'd like to see "improved" within my work. Which was complete bullshit. The guy didn't believe in version control, managed tasks in a Google Doc and didn't like how I used branches for feature development (why don't you just commit to master?). Trust me when I say his list of issues were bullshit (not worth going into all of them, though they may be funny as hell to hear). His improvements/concerns carried no weight and were obviously a front for something else.
The CEO became more and more aggressive with me over things that were outside of my job/position/role. He would go off the handle over them and eventually I called him out on it. He lost his shit and basically "fired" me. I won't go into details regarding what happened next, but lets just say I made out very well :)
Moral of the story, it's not just women that get discriminated against. If you're a father to be, be careful who you let know and how you handle it. Keep a record of everything including the timeline of events, it can come in handy ;)