After 'hugo server' I get 404 unless I re-save a file

For anyone that still face this issue and got here from google:
Solution to this issue is renaming top level index.md to _index.md: