Home>Support>Automatically compiling less files after plugin update

Automatically compiling less files after plugin update

I have built the plugin Widgets for SiteOrigin.

I have noticed during previous updates that changes to existing less files associated with the widgets did not automatically get compiled. Rather they threw back errors in the front-end. The widget would then have to be saved and page/post updated before everything fell back in place.

Any help is appreciated.

A link to the repo on github – https://github.com/wpinked/widgets-for-siteorigin

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 8 months ago Greg Priday
    Hi, I Work Here

    Hi Adi

    I think I’ve heard of this plugin before ;) Hope you’re doing well.

    Yeah, this is a bug I’d say. The Widgets Bundle checks if its own version number updates, but doesn’t check when the plugins that extend it update. I’ll chat to Braam about this and see if we can come up with a solution.

  2. 8 years, 8 months ago adirao

    Hey Greg,

    I’m good. Hope you are doing fine.

    I have copied the version check function from the widgets bundle plugin. Can you please let me know if this will serve as a temporary fix till something more permanent comes along.

    https://github.com/wpinked/widgets-for-siteorigin/blob/clear-css-cache/widgets-for-siteorigin.php#L71

    Thanks for all the help.

    I have also opened an issue on Github

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More