Why to port code to other platform?

I’m developing a game with cocos2d-x that I eventually want on both OS X and Windows. I primarily developing in OS X with xcode. When in the development process should I start trying to port it to Windows? Should I wait till a beta is almost complete or should I be developing it in parallel on both platforms?

If no one in your team have experience with writing crossplatform code, it will be better to always have recent Windows port (and update it at least once at weak). If you can determine which code will not work on windows, you can avoid this and make Window port quickly at the end.