Server-Sent Events not working with Webpack's Dev Server
EventSource. The EventSource
onopen fires, but not any listeners.
There are two options to fix this:
- Disable compression in the webpack devserver config.
Content-Type: no-transformin the response header.