Proof of concept for bug report in webpack-dev-server
- Shows that [email protected] works
- Shows that [email protected] does not work
npm install [email protected]
npm run poc
Edit a file and see the changes.
npm install [email protected]
npm run poc
Edit a file and save - Browser crashes the app with
only-dev-server.js:9 Uncaught TypeError: Cannot read property 'indexOf' of undefined
at upToDate (only-dev-server.js:9)
at EventEmitter.<anonymous> (only-dev-server.js:87)
at EventEmitter.push../node_modules/events/events.js.EventEmitter.emit (events.js:81)
at reloadApp (client?56b6:226)
at Object.ok (client?56b6:139)
at SockJS.onmessage (socket.js:41)
at SockJS.EventTarget.dispatchEvent (sockjs.js:170)
at sockjs.js:883
at Array.forEach (<anonymous>)
at SockJS._transportMessage (sockjs.js:881)