hashicorp / next-remote-watch

Decorated local server for next.js that enables reloads from remote data changes
Mozilla Public License 2.0
350 stars 19 forks source link

Multiple reloads and buildss when multiple tabs/pages open #32

Open bzin opened 2 years ago

bzin commented 2 years ago

When multiple tabs are open with different pages the build is triggered a lot of times, and the reload also seems to occur in each window tab that is currently not active.

Is there any way we can avoid this? Just 2 tabs triggers a lot of Next.js rebuilds making it quite painful to work or validate content changes when these are inside a repo folder.