I am trying to run an example of inotify in C..but it\'s not working.
I want to monitor modifications to a file (the file is tmp.cfg), but it doesn\'t work..I don\'t know if
In watching a file, if the file is manipulated by an editor which you might do to edit it and create a change, it is likely to be doing some operations that results in the original file you asked to watch being deleted. Hence the notifications will stop if you only watch the one file.