You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @pacexy , this has been a super helpful extension, but not sure if I'm the only one for whom it stops refreshing page after a few file changes or if I change the active tab.
What I've found worked for me (changed the source for mv3-hot-reload a bit):
instead of sending message to background.js to do active tab refresh, use location.reload() in the content.js itself
I think this might refresh every tab if content script loads on every page, but for my extension it loads on just one kind of urls so it works fine, but what do you think about all this?
The text was updated successfully, but these errors were encountered:
Hey @pacexy , this has been a super helpful extension, but not sure if I'm the only one for whom it stops refreshing page after a few file changes or if I change the active tab.
What I've found worked for me (changed the source for mv3-hot-reload a bit):
location.reload()
in the content.js itselfI think this might refresh every tab if content script loads on every page, but for my extension it loads on just one kind of urls so it works fine, but what do you think about all this?
The text was updated successfully, but these errors were encountered: