flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

use fsnotify to wait for agent restart

Open wjordan opened this issue 1 year ago • 0 comments

Small fix to use fsnotify to complete waiting for an outdated agent to stop as soon as its socket is removed, instead of a fixed 1 second. Fallback to a 1-second timeout on any error with the fsnotify watcher.

This should eliminate the 1-second pause on the first command after installing a new flyctl version.

wjordan avatar Dec 16 '24 18:12 wjordan