-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
Serve command not passing webpack devServer
config to webpack-dev-server
#1974
Comments
Closing #1469 (comment) |
No need to open an issue without additional information, I can't fix something somewhere |
@evilebottnawi Sorry i accidentally submitted. Please reopen and see details |
@lewisharveydeveloper Please create reproducible test repo, can't reproduce locally |
@evilebottnawi https://github.com/lewisharveydeveloper/scaling-todo-app see test string in app.js. |
@lewisharveydeveloper you need to set |
@evilebottnawi set target to web and pushed changes to my shared repo. no change |
You need |
@evilebottnawi |
I will look at the problem tmorrow |
@evilebottnawi Thank you :) i've added more detail on the issue. seems like it might be something to do with cache since i don't even see changes once i refresh the tab. |
No problems, works fine |
@evilebottnawi I am having this same issue: |
@evilebottnawi i made a new folder and pulled my repo. |
@tx-steven Yes, @lewisharveydeveloper still can't reproduce, all works fine |
I want to close because I can't reproduce, there is not magic with new |
In original repo it doesn't work, because you have resolving problems, so webpack can't init HMR, problems with code === problems with HMR, nothing to do here |
https://github.com/lewisharveydeveloper/scaling-todo-app/blob/master/src/index.js#L5 - no firebase in mode_modules |
reopening #1469
here are my dev dependencies:
my dev server details:
devServer: { contentBase: path.join(__dirname, 'dist'), compress: true, port: 9000 }
Command:
"start": "webpack serve --config ./webpack.config.js --mode development",
What is the current behavior?
The first change i make reloads, any after that do not.
The only way i can see updates is by stopping and reserving, even refreshing the page doesn't show updates.
Steps to reproduce the behavior:
Define a devServer config in your webpack config file
Run webpack serve --config webpack.dev.js
The text was updated successfully, but these errors were encountered: