Fix watching when HTML output does not exist yet

I stumbled upon a bug while working on #7: the watch task crashed when the HTML output didn't exist.