Live Reloading for a Production Next.js app
Now we have a clear idea of how to live reload a production app and potential issues of this approach. Try to tweak this solution as per your requirements.
I'm working on a course where we discuss similar topics like these. Have a look at Bulletproof Next.