Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 883 Bytes

File metadata and controls

26 lines (18 loc) · 883 Bytes

Steps to reproduce webpack-dev-server bug #1193:

  1. Install and start webpack-dev-server (WDS):
npm install
npm start

Now a webpack entry with WDS client script inside is situated on http://localhost:3000/main.js

  1. Go to HTTP page, containing
<script src="http://localhost:3000/main.js"></script>

As you can see, WDS client successfully connected to WDS server.

http

  1. Go to the page via HTTPS.

WDS client cannot connect to WDS server. https

The reason is that WDS client tries to connect to non-existent endpoint https://localhost:3000/sockjs-node. But it should connect to http://localhost:3000/sockjs-node (The difference is in protocol.)