Closed tendant closed 5 years ago
Can you add a test that demonstrates the issue being fixed?
How to test reload programmatically? I did manual testing with sample project: https://github.com/tendant/ring-reload-debug
Test case:
With ring-devel 1.7.1, Step 3 will fail.
With this patch, Step 3 will load namespace correctly.
I had it in my head that there was some tests for wrap-reload
already that you could hook into, but went I looked there was only a smoke test.
I've tested it manually with the project you supplied, and it works as you say. Can you change the commit message to:
Change namespace reload order in wrap-reload
Fixes #376.
Then I'll merge it in.
I have force pushed to fix commit message. Please let me know if it works. Thanks.
Reverse the order of namespaces to load most recent updated namespace first.