-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Webpack 5 --open-page / devServer.openPage not opening page #2993
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
Comments
For maintainers only:
|
Ok well apparently the change in webpack 5 behavior is that either I'm not sure if this is an intentional change, but it seems to me that providing a configuration |
Not related to webpack v4 or v5, it always worked like before, nothing was changed |
If you look at my repro, you do not need |
No, webpack don't know |
I'm talking about |
@snitin315 Also need look at this |
I will take a look 👍. |
This feature seems to be missing in WDS v4.8.1, although, I can provide a path in |
Bug report
I've been updating our projects from webpack 4 to webpack 5 and noticed that webpack-dev-server configs stopped opening browser pages on launch entirely.
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
git clone https://github.com/JasonGore/webpack-dev-server-openpage.git
npm install
npm run dev
Project uses both
devServer.openPage
config and--open-page
argument.What is the expected behavior?
Page should open in browser as it does with webpack 4 / webpack-dev-server 3 per webpack documentation on
devServer.openPage
and--open-page
.Other relevant information:
webpack version: 5.20.2
Node.js version: v12.18.2
Operating System: Windows 10
Additional tools:
webpack-cli: 4.5.0
webpack-dev-server: 3.11.2
Versions in https://github.com/JasonGore/webpack-dev-server-openpage/blob/main/package-lock.json
The text was updated successfully, but these errors were encountered: