mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 00:36:50 +08:00
15c3e328fc
Summary: Normally, the imap connection emits an 'update' event when there are any flag changes. Gmail, however, only emits the 'update' event when there are new or removed messages. If there's a fairly large batch size being synced in the sync loop, we don't want to wait until the end of that to check if the highestmodseq has changed. To get around this, this diff updates the new mail listener connection to periodically poll for the highestmodseq and trigger the same update handler when changes are detected. Test Plan: manual Reviewers: evan, spang, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D4397 |
||
---|---|---|
.. | ||
client-app | ||
client-sync | ||
isomorphic-core | ||
README.md |
Monorepo Packages
Each folder here is designed to act as its own repository. For development convenience, they are all included here in one monorepo. This allows us to grep across multiple codebases, not use submodules, and keep a unified commit history.
We use Lerna to manage the monorepo and tie
them all together with the main nylas-mail-all/scripts/postinstall.es6
script,
which in turn, calls lerna bootstrap