Next.js Discord

Discord Forum

Adding browser sync functionality to Next.js 14+

Unanswered
African Slender-snouted Crocodil… posted this in #help-forum
Open in Discord
Avatar
African Slender-snouted CrocodileOP
I have a single monitor setup and I'm following the Next.js Learn docs in a Windows dev environment. I have figured out how to also point my Google Pixel 8 Pro smartphone to the localhost server address to show the Next.js dev server site with no problems. However, there's no browser syncing going on and I'd like to change that. I've Googled for Next.js browser sync but found nothing helpful that works with Next.js 14 or 15 and also works when TurboPack is enabled.

Has anyone figured out how to enable browser sync in a Next.js 14+ project? I've looked at various WebPack plugins but trying to configure such plugins via NextConfig usually results in nothing happening or getting WebPack is configured while TurboPack is not message in terminal upon npm run dev. The dev server runs without errors but there's no browser syncing happening so there's clearly more configuration required but the solve eludes me.

Any help is greatly appreciated.

0 Replies