burkeholland / express-react-starter

A starter template for running React and Express from the same project
202 stars 83 forks source link

Why can't we have hot reload for .js files? #6

Closed empz closed 2 years ago

empz commented 7 years ago

Webpack's HMR allows hot reloading js files without doing a full page refresh. This is great when working with state because it doesn't get lost in the refresh.

Is there any specific reason this starter doesn't allow hot reload of .js files?

burkeholland commented 2 years ago

It should. When running in dev (npm start) you're just running create-react-app so you should get everything that it provides.