allow you to create a HtmlPreview with no source file and then set it later. does not watch the file in that case