https://github.com/chocolateloverraj/webpack-dev-server-bug
https://github.com/chocolateloverraj/webpack-dev-server-bug
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chocolateloverraj/webpack-dev-server-bug
- Owner: ChocolateLoverRaj
- License: mit
- Created: 2023-03-27T17:49:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T04:43:49.000Z (about 2 years ago)
- Last Synced: 2025-01-25T18:43:41.824Z (4 months ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webpack-dev-server-bug
## Reproduce
- Clone this repo
- Install dependencies
- Run `npm start`
- At the same time, run `npm run forward`
- Open `http://localhost:3001`
- Open developer tools
- Open the network tab
- Find the request named `ws`
- Click on it
- The request url will be `ws://localhost:3000/ws`The request url should actually be ws://localhost:300***1***/ws. In this case, hot reloading works since the request is successful, but in other cases it won't work.
If u do this on GitHub codespaces u'll get an error when you open the forwarded port.