Running a custom tool automatically when a file is modified