-
-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Description
Could you include an EventSource polyfill for IE by default, or recommend one and document how to configure it?
I just got one working, but I had to modify middleware.js:
npm install eventsource-polyfill
entry: [
'eventsource-polyfill',
'webpack-hot-middleware/client',
'./app/index.js'
],Then because the polyfill in question tacks on some query parameters:
--- middleware.js
+++ middleware.js
@@ -26,7 +26,7 @@
});
});
return function(req, res, next) {
- if (req.url !== opts.path) return next();
+ if (req.path !== opts.path) return next();
eventStream.handler(req, res);
};
}ctrlaltdylan
Metadata
Metadata
Assignees
Labels
No labels