Reload and run with idle modules


Sometimes a take a clone of the main module when I have made a large change so that I can revert back to the old version in case of a disaster :slight_smile: .

Is it correct that when a module is not called from the main module or other modules and you press reload and run (or run it on EM-server), that it is never executed ?

I just want to be sure so that I do not created unwanted side effects by leaving the old modules in my project.

When I experiment with it, it seems OK but I just want to be sureโ€ฆ

Thanks !

Yes, when a module is not used by any other module and is not the start module of the project, itโ€™s never executed.

This is exactly one of the intended use cases for modules.

1 Like