I have the following structure in a custom theme:
The /src/templates are compiled into the /templates dir using Grunt. However the files from /src/templates are actually the files which get loaded.
I thought it may be parsing the folders alphabetically, so I renamed src to zzz, run a flush=all, and still the template from zzz/templates was the file loaded.
It wasn't until I renamed zzz/templates to zzz/nottemplates that the correct templates/Page.ss was loaded.
Why are sub folders checked for template directories? Surely this a reasonable performance hit checking every subfolder except the real templates for it's own templates directory?