[BUG] `vite dev` server sometimes crashing with broken pipe error
Describe the bug
vite dev running under doppler run sometimes crashes from a broken pipe error.
To Reproduce Unsure exactly how to get it do this, but it only happens when vite seemingly gets into an endless loop of reading the secrets mount:
Expected behavior
vite dev does not crash
Desktop (please complete the following information):
- OS: Linux
- Version Fedora 43
CLI Version: Version 3.75.1
For anyone else facing similar, turns out it was tailwindcss lsp watching all files in my workspace, because of a missing config in neovim lspconfig. Excluding [name of your secrets mount] from the lsp also fixes this.
Still, I think the fix in the pr is a good idea, because a broken pipe shouldn't cause doppler to just crash.