-1

Add a Touch File Command

Suraj Reddy 6 years ago • updated by lanzz 6 years ago 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.