Native Watch Using inotify-tools

Don’t bother installing node or ruby gems when you can simply run the following inline command on any UNIX system with inotify-tools installed:

# watch a single file for any type of changes and display on change
while inotifywait someText.txt; do cat someText.txt; done

# watch a folder for any type of change and run make if there is
while inotifywait -r src; do make; done