make reload work on windows
Merge pull request #120 from andeee/reload-win-fix

make reload work on windows