Closed yuenaffiliates closed 2 months ago
Looking around seems this is more of a docker file change detection problem. Trying out https://github.com/facebook/create-react-app/issues/11879#issuecomment-1069553776 worked for me by adding:
watchOptions: {
aggregateTimeout: 200,
poll: 1000,
ignored: '**/node_modules',
},
@yuenaffiliates
LiveReload after changes works properly.
You can try the live demo on stackblitz.
For example, change the src/main.js
file, e.g. add alert('Hello!');
into JS file and you will see result immediately.
Current behaviour
After saving a change to index.html, the page flashes as if reloading, but the content has not changed.
Expected behaviour
Content changes are reloaded.
Reproduction Example
webpack.config.js
www/index.html
www/js/scripts.js
webpack serve
Environment
Additional context
Logs from
webpack serve
and after modifying the file and saving: