Thanks - this was the solution for me. I spent waaaayy too much time to discover this solution.
This needs to be highlighted in red on the doc page as I had the file/folder naming, the correct files type, etc - but the file would never compile until I closed and reopened using this method.