Why does Sublime Text 2 not update the folder change date?

Here is the text file: test / foo.txt

When I use Sublime Text 2 for editing and saving, the modification date of the "test" folder does not change.

So, if I want to update the folder date, you need to run "touch test /" in Terminal. It drives me crazy.

Any way to do this automatically?

+4
source share
2 answers

Directory change time will be updated only when the file is added, deleted or renamed. Changing the contents of files in this directory simply will not cause this.

+3
source

You can change this in the settings file. This is known as atomic conservation.

In the settings file, change it to:

"atomic_save": false 

This will touch the file every time you save it.

+2
source

Source: https://habr.com/ru/post/1441472/


All Articles