Webview not syncing with changes

Bug description:
Webview does not sync with the changes I make to my code. When I click “run” often nothing happens. If I click “Show in new tab”, it shows the changes.

Expected vs Current Behavior:
When I click run, the webview should reflect the changes I make to my code.

Steps to reproduce:

Bug appears at this link:

Screenshot(s)/Screen Recording:

Chrome, Firefox, Edge all produce same results. I use Windows 10.

Replit Profile: https://replit.com/@ScottWhitney1

1 Like

Here is what you can do
step 1. create another repl and paste the exact same code that you have done in the old repl.
if this does not work, try refreshing the page
If it still does not work
then I have no idea what to do lolz

1 Like

Try clearing cache and reloading, (CTRL+F5)


Make sure you click the reload icon by the webview to refresh its contents.

Thanks for all the suggestions. Yes, they do help, but the whole point is to be able to just click webview and see the updates without having to jump through hoops to get it working. When things are going smoothly, it’s easy to forget to click refresh, but even that does not work sometimes if you do not clear the cache. Clearing the cache only solves the problem in some browsers. In my opinion, it’s still a bug.


Thanks. That sometimes helps, but it’s still a bug as far as I am concerned.

1 Like

We do have an HTML/CSS/JS Repl that uses Vite to hot-reload the contents of your code. This way you won’t have to reload the webview constantly.



Feeling like an idiot now after trying various other solutions and believing it might have sth to do with Firefox - but this simple step fixed the problem!

1 Like