I am developing a small package. It has several "source" files. Hence I am using an init.m file that loads those files (contexts actually) with Get.
When the source files have the extension ..wl, Mathematica loads that source file directory bypassing the init.m file. This is NOT the expected behavior.
When the source files have the extension .m, with NO other changes, Mathematica loads the init.m file and then loads ALL the source files. This is the expected behavior.
This took many hours to debug. Useful ideas were using Print statements in the init.m file and in the source files AND using FindFile with a context name in my application notebook.
I have reported to Wolfram. My questions are (1) have others seen this behavior? (2) should I have expected it based on the documentation?