Skip to content

fix: dont handle sigterm in middleware mode#8550

Merged
patak-cat merged 3 commits intovitejs:mainfrom
bluwy:fix-sigterm-middleware
Jun 12, 2022
Merged

fix: dont handle sigterm in middleware mode#8550
patak-cat merged 3 commits intovitejs:mainfrom
bluwy:fix-sigterm-middleware

Conversation

@bluwy
Copy link
Copy Markdown
Member

@bluwy bluwy commented Jun 12, 2022

Description

Fix #7627

Additional context

Not sure if this is considered breaking, but we made similar changes in the past in minors, e.g. #4232


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@bluwy bluwy added the p2-nice-to-have Not breaking anything but nice to have (priority) label Jun 12, 2022
@patak-cat
Copy link
Copy Markdown
Member

About the breaking change bit, we could consider this a bug fix. Maybe we need an advanced section in the migration guide targeted at integration and framework maintainers so we can at least add a point about this change (like bug fixes that may require special attention)

Co-authored-by: patak <[email protected]>
@patak-cat patak-cat merged commit c6f43dd into vitejs:main Jun 12, 2022
sapphi-red added a commit to sapphi-red/vite that referenced this pull request Jun 14, 2022
@bluwy bluwy deleted the fix-sigterm-middleware branch November 6, 2022 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2-nice-to-have Not breaking anything but nice to have (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When running in middleware mode, vite should not kill process on SIGTERM

2 participants