In some conditions hot reload is not working when hot reloading a set of components that requires one each other.
The problem is random because it depends on the undeploy order.
Example:
CompA.xml require CompB.xml and CompC.xml
deploy Compa.xml
deploy CompB.xml
deploy CompC.xml
undeploy CompC.xml
undeploy CompA.xml
undeploy CompB.xml
deploy Compa.xml
deploy CompB.xml
deploy CompC.xml
In fact the problem is deeper. The cleanup is not correctly done in some cases and this may also generate memory leaks when hot reloading.