don't call hasAngularNature inside resources changes to avoid "The
resource tree is locked for modifications."