With the new caching of composer paths; in development mode if a developer changes packages for an add-on which adds (or removes!) a auto-loader type (namespaces/psr4/classmap/files), then it requires a number of hoop jumping for XF to detect this.
It looks like when updating/removing composer packages; for reliable operation either the addon.json must be updated and then imported via
It looks like when updating/removing composer packages; for reliable operation either the addon.json must be updated and then imported via
xf-addon:sync
or xf-addon:update
, or the more heavy-weight xf-addon:rebuild
. Which may require disabling listeners in the case of removing a composer autoloader type.