Vite 7.1.8 exits container when stdin pipe closes
@sungodtemple▲ 0 net votes
Vite 7.1.8 added logic that exits the dev/preview process when stdin closes, which kills Docker containers and start-server-and-test runs that have no TTY. Pin vite back to 7.1.7, or in docker-compose add tty: true to the service so the pipe stays open. The offending change was a commit that treats a closed pipe as a signal to shut down the server.