We want to optimize the hot reload.
Since NXP-19326 and then NXP-22546, hot reload mechanism has changed a bit to handle the two-steps component start.
Currently we waste time in ReloadComponent each time we undeploy or deploy new bundles. This part should be rework to properly handle the new component manager mechanism.
For instance, in 9.2 we have:
- undeploy bundle / unregister components
- refresh components (depending on hot reload strategy, for unstash -> stop, unregister / register components, start)
- deploy bundle / register components, deploy static files see
NXP-9642 - refresh components (depending on hot reload strategy, for unstash -> stop, unregister / register components, start)
We can probably remove a refresh components step as the component manager now handle a stash.
Furthermore, we need to take care of static resources. NXP-12439