Fix excessive reloading when fallback dummy watcher is used instead of JNotify.
Merge pull request #3057 from shkhln/reloading-fix

Fix excessive reloading when fallback watcher is used instead of JNotify.