inseven / incontext

Multimedia-focused static site builder for macOS
https://incontext.app
MIT License
1 stars 0 forks source link

fix: Use millisecond granularity when tracking file modification times #194

Closed jbmorley closed 1 year ago

jbmorley commented 1 year ago

Using full nanosecond precision to track file modification times seems to be broken on Sonoma meaning files always show as modified leading to unnecessary work. This change reduces modification time checks to milliseconds and explicitly uses milliseconds when storing modification times in the intermediate SQLite store.

Nanosecond granularity comparisons did seem to infrequently break pre-Sonoma (see #159) but it's concerning to me the behaviour seems so different on Sonoma.