Please Note: If you are testing out Webpack’s HMR feature, you will need to:
1. Clone the CodeSandbox to your local compouter.
2. Follow the instructions from this post to set `NODE_ENV` to `development`.
3. Open two consoles:
— One for running `$ npm run build`.
— Another one for running `$ npm run start:server` (or `$ npm run start:server:env` if you are specifying environment variables in `.env`).
4. Try modifying some code and save the file(s). HMR will trigger.
Please let me know if you still encounter issues running the code — I am here to help :)