Continuously watch a specific file for events without exiting

inotifywait

inotifywait --monitor {{path/to/file}}

click the source code to copy install inotifywait on any operating system with command-not-found.com