when a namespace gets recompiled, in case it had states defined inside, it would stop and start (i.e. restart) these states to make sure they are not lost / bound to resources (more details).
this is usually a preferred behavior, but in some instances (see this discussion) it would be best to not restart states on recompile.
this needs more thinking so the original state references are not lost after "not restarting".
when a namespace gets recompiled, in case it had states defined inside, it would stop and start (i.e. restart) these states to make sure they are not lost / bound to resources (more details).
this is usually a preferred behavior, but in some instances (see this discussion) it would be best to not restart states on recompile.
this needs more thinking so the original state references are not lost after "not restarting".