On sites with caching enabled, changes were not showing until a manual flush
$this->cache->clear();
$this->modules = NULL;
$this->changeSets = NULL;
+ // Force-refresh assetBuilder files
+ \Civi::container()->get('asset_builder')->clear(FALSE);
return $this;
}
\CRM_Core_Menu::store();
\CRM_Core_BAO_Navigation::resetNavigation();
}
- // FIXME if asset-caching is enabled, then flush the asset cache.
$item['module_name'] = _afform_angular_module_name($item['name'], 'camel');
$item['directive_name'] = _afform_angular_module_name($item['name'], 'dash');