Mautic Community Forums

Mautic plugin development cache problem

Hi everybody

I’m trying to develop a Mautic plugin. I could make Example-plugin work, but for every code change I need to clean the cache and it take some minutes to recreate it again.
Mautic is already running “in development mode”. I would like to just edit files and refresh the page.
Please help me to manage cache for plugin development.

Hi viratrazz

What I did is use this script to run Mautic from my machine https://raw.githubusercontent.com/miya0001/mautic-server/master/run.sh

I only need to remove cache if I edit config.php since symphony seems to use it to create the service container, when I change it the container is not rebuild by default. I didn’t investigate this further. All other tasks like custom actions, integrations etc are working fine by just refreshing the page