Hey, Allan, what about this?
https://eclecticlight.co/2020/03/27/what-changes-a-files-modification-date-a...
I'm not saying you're wrong (I have no idea), but Howard says:
"Changing a file’s xattrs doesn’t alter the data in the file itself. Xattrs aren’t even stored in the main data area of a volume, but apart, in the file system metadata. So adding or changing a xattr won’t change the date of modification, nor the date that the file was last opened. In fact, unless you look at the xattrs using a utility such as my xattr editor xattred, you won’t even notice what’s happened."
I'm wondering how to test something like that. :)
-- Marc Wilson posguy99@gmail.com
On Sat, Mar 28, 2020, at 4:01 AM, Allan Odgaard wrote:
On 26 Mar 2020, at 7:50, 周彬 wrote:
I use electron-vue to automatically reload the page if file modified, and every time I close the tab, textmate automatically update mtime of the file. Are there any configuration option that do not modify the mtime of the file when the tab is closed?
The reason is that TextMate uses extended attributes to store things such as position of insertion point, selection etc.
You can disable this via `.tm_properties`. Create a `.tm_properties` file in the root of your project and let it contain this line:
`disableExtendedAttributes = true
`
You can also create the file in `~` to disable the behavior globally, or you can limit it to certain file types, e.g. by using:
`[ *.vue ]
disableExtendedAttributes = true `
TextMate mailing list TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate