Commit 160acfa
committed
fix(watch): prefer GNU stat for cross-platform checksum compatibility
On Linux, `stat -f` returns filesystem info (not per-file mtime), so
the checksum changed whenever any file on the filesystem changed,
including non-.sh files. Reversed order to try GNU `stat -c` first
and fall back to BSD `stat -f` on macOS.1 parent f86b6bd commit 160acfa
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
| 546 | + | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
553 | | - | |
| 552 | + | |
| 553 | + | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| |||
0 commit comments