Tilt: Frequently getting "short read in readEvents()" on Windows

Created on 7 Jul 2020  路  4Comments  路  Source: tilt-dev/tilt

I'm getting this error a lot:

Tilt has encountered a fatal error: short read in readEvents()
Once you fix this issue you'll need to restart Tilt. In the meantime feel free to browse through the UI.

I'm running Windows 10 Version 10.0.19042 Build 19042.
Tilt v0.15.2, built 2020-07-02

I'm using PhpStorm as my IDE and Hg for version control. I thought maybe one of those was writing excessive files so I tried adding some of the temp files I'm aware of to .tiltignore:

**/*___jb_*___
**/hg-*
.hg

But that doesn't seem to help.

Please let me know what else I can provide to help diagnose the issue.

Windows bug

Most helpful comment

i think i have a fix but it takes some real Go/Windows syscall kungfu

All 4 comments

I get this consistently during startup (only on windows, running from powershell/cmd), but I haven't figured out why yet.

ok, i think i have a repro case for this.

1) Go to https://github.com/tilt-dev/tilt-example-java/tree/master/4-recommended/src/main/resources/static with a unix terminal and run touch file{1..1000}.txt
2) Run tilt up under https://github.com/tilt-dev/tilt-example-java/tree/master/4-recommended

i think i have a fix but it takes some real Go/Windows syscall kungfu

This should be out in Tilt v0.17.0 :tada:

Was this page helpful?
0 / 5 - 0 ratings