Hi to all, i need an info, it’s possible to automatically refresh browser after export theme whithout click on refresh on browser?
thanks in advance
Hi to all, i need an info, it’s possible to automatically refresh browser after export theme whithout click on refresh on browser?
thanks in advance
Hi @vincentba,
You can use browser-sync. You need to set it up a little differently than you would with a straight HTML site, but it works just the same. https://browsersync.io/
I’m not sure how you are hosting your WordPress site, so I can’t really show you how to set it up, but you’ll have to use proxy mode, so something like browser-sync --proxy "mylocalhost" --files "index.php"
. Not sure if index.php is the best file to watch. You need a file that will change each time you export.
Cheers,
Bob
thanks in advance, im using Localwp to host website https://localwp.com/
Hi @vincentba,
I haven’t used localwp a ton. Looking on the web it seems like WPGulp is the easiest way to go. Maybe @Emmanuel can chime in here.
Cheers,
Bob
i have solve, there is a native addon from localwp
I was going to say that. Precisely, this add-on previously reserved for the paid version of Localwp is now available to everyone.(like all the other premium features for that matter)