{"version":"2.1.324","anchor":"plugin-cache-can-land-a-new-copy-beside-a-pinned-one","canonical_anchor":"plugin-cache-can-land-a-new-copy-beside-a-pinned-one","heading":"Plugin updates can install a fresh copy beside one in use, and force a reinstall","tier":"notice","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/plugin-cache-can-land-a-new-copy-beside-a-pinned-one","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Plugin updates can install a fresh copy beside one in use, and force a reinstall\n\nPlugin updates gain forceCopy and landBesidePinned, so a new copy can be written beside a plugin another session is still using\n\n**Unclear.** It is not clear what sets the `landBesidePinned` option, so whether this happens for you is unknown.\n\n**What**\n\nTwo new options change how a plugin update is written to disk.\n\n- `landBesidePinned`: when the plugin's cached folder is in use by another session, the installer can now write a new copy under a `-beside` version suffix. The log says the folder \"is in use by another session; landing a new copy beside it\". Before, the overwrite was always put off until the other session exited.\n\n- `forceCopy`: the plugin update operation now accepts this option. When it is set, the update skips the checks that stop early when a plugin is already up to date, and overwrites the install using `landBesidePinned`.\n\nIt was not found which command or flag passes `forceCopy`.\n\n**Why**\n\nA plugin update no longer has to wait for every other open session to end. A plugin can also be reinstalled even when its version has not changed.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}