How are modules loaded in the server console?

I have two apps that print some info when the server modules are loaded.

On one app, when a new server console starts, the info is printed, then Application loaded appears at the end.

On the other app, when a new server console starts, Application loaded appears. Only after manually running import ServerModuleName, the info is printed.

Why is there this different behavior?
How are modules loaded in the server console?

2 Likes