mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
We've been shipping the `logging` package to the client even though it isn't used on the client by any core packages. Now that the `logging` package is removable from your app, let's make it actually removable by deleting totally worthless dependencies that exist for bizarre historical reasons. For example, some packages, like `reload` and `mongo`, depend on `logging` because that's where `Meteor._debug` used to be, before it was moved to the `meteor` package and `logging` was repurposed for something else. The `ddp-server` package had a crazy overreaching set of dependencies, pulling in a bunch of client-side libraries even though it only has server-side code of its own.
reload
The reload package handles the process of migrating an app:
serializing the app's state, then shutting down and restarting the app
(for example, to load updated client code or to move the client
session from one JavaScript virtual machine to another), and finally
restoring its state.
Packages that want to participate in the migration process register
with reload. They can make the migration process wait until they are
ready and include whatever state they may possess in the serialization
and deserialization process.
reload is part of the Webapp project.