There is this check box on Eclipse:
Preferences -> General -> Workspace -> Refresh using native hooks or polling
The Eclipse documentation says:
"Refresh using native hooks or polling" can solve the problem about project building is not updated when files are edited using external editors. problem details