Why does textmate modify the file mtime after closing the tab?

66 Views Asked by At

I use electron-vue to automatically reload the page, and every time I close the file, textmate automatically update mtime of the file. This was not the case before, and I don't know why.

1

There are 1 best solutions below

0
On BEST ANSWER

Via the mailing list;

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

-- Allan Odgaard