-
-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Description
When refreshing the page with hmr enabled (and connected via websocket to the serve server), an exception is logged to the webpack console.
This doesn't actually stop anything from working.
- Webpack Version:
v4.26.1 - Operating System (or Browser):
Windows 10, Chrome 71.0.3578.80 - Node Version:
v10.14.1 - webpack-plugin-dev Version:
v0.1.2
How Do We Reproduce?
https://github.com/G-Rath/js-bugs/tree/base/webpack-plugin-serve
Expected Behavior
No errors in webpack console when refreshing page.
Actual Behavior
Error is logged:
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at writeAfterEnd (_stream_writable.js:243:12)
at Socket.Writable.write (_stream_writable.js:291:5)
at Sender.sendFrame (C:\Users\G-Rath\workspace\projects-personal\js-bugs\node_modules\ws\lib\sender.js:404:20)
at Sender.doClose (C:\Users\G-Rath\workspace\projects-personal\js-bugs\node_modules\ws\lib\sender.js:141:10)
at Sender.close (C:\Users\G-Rath\workspace\projects-personal\js-bugs\node_modules\ws\lib\sender.js:128:12)
at WebSocket.close (C:\Users\G-Rath\workspace\projects-personal\js-bugs\node_modules\ws\lib\websocket.js:215:18)
at Receiver.receiverOnConclude (C:\Users\G-Rath\workspace\projects-personal\js-bugs\node_modules\ws\lib\websocket.js:695:32)
at Receiver.emit (events.js:182:13)
at Receiver.controlMessage (C:\Users\G-Rath\workspace\projects-personal\js-bugs\node_modules\ws\lib\receiver.js:436:14)
at Receiver.getData (C:\Users\G-Rath\workspace\projects-personal\js-bugs\node_modules\ws\lib\receiver.js:330:42)