automatically runs latex when the source file changes