Live Reloading for a Production Next.js app

With Next.js static regeneration, we can update a static webpage on-demand as the data source changed. But it won't update already loaded pages. The user has to reload that page manually.

But there's a way to notify the user about the new version of the web page. Have a look at it:

Play Now

In this lesson, we are going to see how to do that.