How do you find the current port being used by the dev server?
See original GitHub issueIf you happen to close the browser window that the start
command opens I’m not sure of a way to find the current port without restarting the server. Might be nice to put it somewhere in the console output after the server has started.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Get webpack-dev-server instance port inside webpack config
js file when running webpack-dev-server from the command line/NPM script? I can't just use the port number defined in the devServer object ...
Read more >Error: The dev server is not running on port 3000. · Issue #978 ...
Run npm run dev-server before running npm start . Enter the password when prompted. Open the project in VS Code. Use Terminal, Run...
Read more >DevServer - webpack
webpack-dev-server can be used to quickly develop an application. See the development guide to get started. This page describes the options that affect...
Read more >webpack-dev-server
This adds the webpack-dev-server client entry point to the webpack configuration. There is no change in the url required. Just navigate to http://<host>:<port>/ ......
Read more >Webpack Dev Server - 编程狮
Just navigate to http://«host»:«port»/«path» and let the magic happen. You should see the following messages in the browser log: [HMR] Waiting for update...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, it should be shown when you fix those warnings. @gaearon should we print the listening message if there are warnings?
Hmm, probably also show the overlay on warnings too, cause usually I don’t check the terminal when the warnings happened