-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
What does webpack-dev-server serve when the bundle exists in both output folder and memory? #398
Comments
@jiayihu Hi,What do you mean?
|
@zhangmengxue thanks for your reply! I already solved the problem and it was my fault, since I wrote the wrong src path when including the script in my HTML file. Therefore it loaded the script in the disk meanwhile the one in the memory was also available on a different path. |
ok, I was figure out this through https://webpack.github.io/docs/webpack-dev-server.html#combining-with-an-existing-server . actually , where is the newest bundle.js file is the issue. |
From the doc the bundle in memory should be the one served, but in my experience the bundle contained in the output folder and written by webpack --watch is actually served. Is it correct?
I'd be happy to update the docs to reflect whatever goes on.
The text was updated successfully, but these errors were encountered: