-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Update development.md #4156
Update development.md #4156
Conversation
error: option '--open <value>' argument missing
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/webpack-docs/webpack-js-org/hvksrijl8 |
@@ -274,7 +274,7 @@ __package.json__ | |||
"scripts": { | |||
"test": "echo \"Error: no test specified\" && exit 1", | |||
"watch": "webpack --watch", | |||
+ "start": "webpack serve --open", | |||
+ "start": "webpack serve", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @evilebottnawi What do you think here? Shall we remove--open
temporarily? It won't work until webpack-dev-server v4 is out according to webpack/webpack-cli#2001 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep --open
, I will fix it in near future (2-3 days)
@@ -295,7 +295,7 @@ __package.json__ | |||
} | |||
``` | |||
|
|||
Now we can run `npm start` from the command line and we will see our browser automatically loading up our page. If you now change any of the source files and save them, the web server will automatically reload after the code has been compiled. Give it a try! | |||
Now we can run `npm start --open` from the command line and we will see our browser automatically loading up our page. If you now change any of the source files and save them, the web server will automatically reload after the code has been compiled. Give it a try! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this as it doesn't fix the problem.
Closing this as we would prefer keeping |
os:windows
error: option '--open <value>' argument missing
describe your changes...