Easiest way to reproduce this is to create a new empty doc-page file while the compiler is "watching" for changes. The file will throw an error since it doesn't have any content. If you add content to the file, the file is never picked up by the compiler again. You have to restart the compiler for it to pick up the corrected file.