# Automatically refresh browser after export theme

**URL:** https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570
**Category:** General
**Created:** [August 25, 2021, 12:21pm UTC](https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570 "2021-08-25T12:21:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![vincentba](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vincentba](https://forum.pinegrow.com/u/vincentba)
#### Post date: [August 25, 2021, 12:21pm UTC](https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570/1 "2021-08-25T12:21:14Z")

</div>

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

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [August 25, 2021, 12:31pm UTC](https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570/2 "2021-08-25T12:31:48Z")

</div>

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/](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

---

<div class="post-metadata">

### Author: ![vincentba](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vincentba](https://forum.pinegrow.com/u/vincentba)
#### Post date: [August 25, 2021, 2:01pm UTC](https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570/3 "2021-08-25T14:01:39Z")

</div>

thanks in advance, im using Localwp to host website [https://localwp.com/](https://localwp.com/)

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [August 25, 2021, 2:28pm UTC](https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570/4 "2021-08-25T14:28:27Z")

</div>

Hi @vincentba,  
I haven’t used localwp a ton. Looking on the web it seems like [WPGulp](https://github.com/ahmadawais/WPGulp) is the easiest way to go. Maybe @Emmanuel can chime in here.  
Cheers,  
Bob

---

<div class="post-metadata">

### Author: ![vincentba](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vincentba](https://forum.pinegrow.com/u/vincentba)
#### Post date: [August 26, 2021, 12:09pm UTC](https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570/5 "2021-08-26T12:09:20Z")

</div>

i have solve, there is a native addon from localwp

 ![1](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/6/6b0772550f566a3d845ae96c37b8c900116861fb.png)  
then go to your project → tools and enable instant reload  
 ![2](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/5ec4361a7e78623e0bfc8db6e25f65bcafe1b778.png)

---

<div class="post-metadata">

### Author: ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)
#### Post date: [August 26, 2021, 2:05pm UTC](https://forum.pinegrow.com/t/automatically-refresh-browser-after-export-theme/5570/6 "2021-08-26T14:05:06Z")

</div>

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)
