-1

Add a Touch File Command

Suraj Reddy 13 ár síðan updated by lanzz 13 ár síðan 1
It'd be helpful to press a button to "touch" a file/update it's last edited date.

This is very helpful for rails testing where you have a process watching a file for changes that runs a test whenever the file changes.

Sometimes you want to re-run the test without actually changing a file.
Simply saving the file updates its modification timestamp, even when there was nothing changed. At least that's the behavior I see on OSX.