vite doesn't work without tty #11262
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
regression
The issue only appears after a new release
Describe the bug
npm run dev </dev/null |& cat
fails to start.This happens from 4.0.0-beta.4+. related: #11228
Commenting out this line worked.
https://github.com/vitejs/vite/pull/11228/files#diff-81b44da793ec59783061d131cf17007aad50237eb09f4f648eb68b2dd6f009b9R76
Reproduction
https://vite.new
Steps to reproduce
npm init vite@latest
and change to use Vite 4.0.0-beta.4npm i
npm run dev </dev/null |& cat
I reproduced this with both Windows + Docker (Hyper-V backend) and WSL (Ubuntu 20.04).
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: