hmr(HotModuleReplacement) is one of the MUST HAVE functions in web development. But as VirtualBox DOESN'T (and will not) provide a mechanism to watch on file changes. It's only possible to poll for changes. This project is a sample of how to poll for changes with webpack options in nextjs.
- CentOS7
- Ubuntu14
- node:boron-alpine
docker-compose up -d
Try change the backgroud color in index.js