Fix #5537: Start live development even if there is no open file

This PR fixes the issue #5537 where you can't start Live Development if there is no open file even if there is an index.html in it.

It works, but please check to code to decide whether this is a good solution/fix or just a bad workaround.

The LiveDev tests ran fine, I haven't tested any others.