The issue has been reported to upstream in spyder-ide/21877. The patch implements a more tolerant file modification detection and only reports differences greater than 1000 ms.