#Why is hmr not working in my nextjs+typescript project as expected?

3 messages · Page 1 of 1 (latest)

candid badge
#

I have to run npm run dev everytime to see simple changes,the console log says "HMR Connected" but still I have to run dev command everytime to see changes.

What's even weird is, if I click on component from ui and get back to same page it shows changes without me having to run dev command again, but it works only once, it works only on first click and no more than that, please help.

#

Why is hmr not working in my nextjs+typescript project as expected?

gleaming arch
#

have the same issue,
got a fix?