That was really the Russian plan. Russia thought Hillary would win also. They hated Hillary and Obama and wanted so much info on her that they could essentially Black Mail her after the election.  The GOP was too smart to allow any hacking, and paid close attention to their info. Hillary had been playing fast and loose with not only her info, but as Sec. of State gave away all our U.S. secrets by using her illegal server and multiple easily hacked phones. 
Obama was told about the huge breach, but as it would be embarrassing that he allowed this to occur under his watch, and his belief that Hillary was going to win and it would all be swept under the rug , and so no one would find out, Obama chose to do nothing.