Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.

Conversation

@ehmicky
Copy link
Contributor

@ehmicky ehmicky commented Sep 24, 2020

Fixes #48.

This removes any previous bundles in .netlify/edge-handlers/ before writing a new bundle.
The intention is for cleanup purposes, i.e. to ensure that directory does not grow too large with time.

One potential problem would be if Edge handlers have been bundled and are being uploaded, and another process is bundling them again, in which case this would make the upload file. However, I don't think this situation can arise for us, but please let me know if such a race condition (or any other problem) could happen. Thanks!

@ehmicky ehmicky added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Sep 24, 2020
@ehmicky ehmicky self-assigned this Sep 24, 2020
@ehmicky ehmicky mentioned this pull request Sep 24, 2020
@ehmicky ehmicky merged commit 6ad5784 into master Sep 25, 2020
@ehmicky ehmicky deleted the feat/cleanup-bundles branch September 25, 2020 12:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type: feature code contributing to the implementation of a feature and/or user facing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cleanup bundles

3 participants