How to reload plugin after changing code?

My Mautic version is: 5.1.0
My PHP version is: PHP Version 8.1.2-1ubuntu2.19
My Database type and version is: 10.6.18-MariaDB-0ubuntu0.22.04.1

I’ve made a minor change to ./docroot/plugins/GrapesJsBuilderBundle/Assets/library/js/builder.service.js. How do I rebuild this plugin to reflect my changes?

I’ve tried clearing the cache, but that’s not enough, so I suppose the plugin has to be rebuilt somehow. mautic:plugins:reload does not register the changes and reports that no plugins can be updated.

mautic:assets:generate is generally what may be needed if JS was changed.

GrapesJS is different, though, because not native Mautic… and can be pretty ugly (see GitHub - mautic/grapesjs-preset-mautic: GrapesJS preset configuration for the Mautic editor).

Therefore the recommended way for changes is to create a GrapesJS plugin, see GrapesJS Builder — Mautic Developer Documentation 3.0.0 documentation

Thank you for your answer! I wish there was an easier way to configure GrapesJS.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.