Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion python/bin/watchman-make
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,12 @@ while True:
try:
# Wait for changes to start to occur. We're happy to wait
# quite some time for this
client.setTimeout(600)
if sys.platform == "win32":
# On Windows the way the socket is read a CTRL-C it takes this much
# time for a CTRL+C to get back out to us.
client.setTimeout(3)
else:
client.setTimeout(600)

result = client.receive()
for _, t in targets.items():
Expand Down