mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Merge 6407276e7f into e39ca5e597
This commit is contained in:
commit
1f74667ec1
1 changed files with 2 additions and 1 deletions
|
|
@ -260,7 +260,8 @@ func (fc *fileCache) scanFiles(keyDir string) (set.Interface, set.Interface, set
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
filesNow.Add(path)
|
filesNow.Add(path)
|
||||||
if modTime.After(prevMtime) {
|
// on macOS, we get FS notifications before the actual modTime is updated
|
||||||
|
if modTime.After(prevMtime) || modTime.Equal(prevMtime) {
|
||||||
moddedFiles.Add(path)
|
moddedFiles.Add(path)
|
||||||
}
|
}
|
||||||
if modTime.After(newMtime) {
|
if modTime.After(newMtime) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue