question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

webpack-dev-server doesn't send changed files on Docker for Windows

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MichalPodeszwacommented, Oct 28, 2016

Just to let you know. Turns out, everything works now. I must’ve had the built project somehow there.

0reactions
SpaceK33zcommented, Oct 28, 2016

Allright. By the way, I would maybe first post this on StackOverflow, because you’ll probably get a quicker reply there.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found