void watcher_Changed(object sender, FileSystemEventArgs e) { nextUpdate = Math.Min(nextUpdate, Environment.TickCount + UPDATE_DELAY); }