webpack-dev-server doesn't send changed files on Docker for Windows
See original GitHub issueI’m submitting a bug report
webpack and webpack-dev-server version: webpack: 1.12.11 webpack-dev-server: 1.12.1
Windows 10 Docker Running server via CLI
Current behavior:
When you update a file on host (via mounted directory) the file changes on docker (confirmed by cat-ing it). Webpack-dev-server picks up changes (I’ve got legacy polling enabled), recompiles, but sends the old file to browser.
Expected/desired behavior:
Webpack should send the new - changed - file.
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Why doesn't Webpack-Dev-Server (inside docker container ...
It seems that some Docker containers do not support native file watchers which leads to problems detecting file changes.
Read more >Configure Webpack to work inside a container - Okteto
Webpack uses the file system to get notified of file changes and enable features like hot-reloading. You might experience file watching issues if...
Read more >How to Enable Live-reload on Docker-based Applications with ...
In this post you'll learn how to configure a development environment with live-reload enabled. This will allow you to convert a legacy ...
Read more >Hot module reloading doesn't work when server is running in ...
It works well when the site is run locally. But, when the site is run using docker, hot module reloading does not work...
Read more >Introduction to Docker for Javascript Developers (feat Node.js ...
Try editing your server.js file when your app is running (change "hello ... pull it from Docker Hub if it doesn't find it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just to let you know. Turns out, everything works now. I must’ve had the built project somehow there.
Allright. By the way, I would maybe first post this on StackOverflow, because you’ll probably get a quicker reply there.