-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack not watching when in docker #244
Comments
@howardchung Can you try this on your computer? |
Yeah, I tested and the events don't seem to be picked up by webpack-dev-server to trigger a rebuild. Not sure what the cause is. |
Can you fix this? I can't do it on windows. |
I don't know if it's a problem with our code that we can fix easily. My guess is that the file change events that Docker should generate (since the working directory is mapped to the docker container) aren't being recognized. |
Maybe this? webpack/webpack-dev-server#143 (comment) Also a suggestion to change webpack config: |
First suggestion didn't work for me. I can't try the config change though since I don't see any watch option anywhere at all. Remember that we run |
It would be in the webpack.config.js file. |
Nope, there isn't. |
I mean, that's where it would go. It won't be one of the keys in the config object right now, you have to add it. |
No description provided.
The text was updated successfully, but these errors were encountered: