-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Ctrl+C no longer kills processes running in parallel with vite #11434
Copy link
Copy link
Closed
Labels
Description
Describe the bug
When using npm-run-all to run package scripts in parallel with the Vite dev process, a Ctrl+C input only kills the Vite process and a second Ctrl+C is needed to kill the remaining scripts. This is a regression from 3.2.5, where a single Ctrl+C killed all parallel running processes. This may be due to the new shortcuts CLI.
Reproduction
https://github.com/stephenlrandall/vite-cli-ctrl-c-bug
Steps to reproduce
Follow the reproduction README.
System Info
System:
OS: macOS 13.0.1
CPU: (10) arm64 Apple M1 Max
Memory: 21.14 GB / 64.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 17.2.0 - /opt/homebrew/bin/node
npm: 8.19.3 - /opt/homebrew/bin/npm
Browsers:
Chrome: 108.0.5359.124
Safari: 16.1
npmPackages:
vite: ^4.0.0 => 4.0.2Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable