Only reindex the last build configuration when files are dirtied.