-
Notifications
You must be signed in to change notification settings - Fork 196
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I'm currently one of the maintainers on webpack-plugin-serve
and we also want to support it (specially for one my use cases).
But due to how tangled to wds and wdm this plugin is, we would need support for custom message handlers (similar to https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/master/src/runtime/WHMEventSource.js) and a custom websocket properties!
Would these things be supported? Technically i don't want to embbed a custom message handler to this as well, i would like to leave it as generic as it would be so we can add more extensiability!
something like:
new ReactRefreshWebpackPlugin({
ws: {
url: localhost,
port: 12345
},
messageHandler: () => {
....
}
})
what do you guys think?
Edit: so we already have one PR on going, which would help 1/2 of this issue: #44
jgcmarins, sibelius, IxquitilisSaid and richard-kramerIxquitilisSaid
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request