You can add dynamicPublicPath=true to your hotClient require, and you will no longer have to set the path hardcoded (allowing your hotClient to go straight off of your dev server configuration. dynamicPublicPath will prefix anything you have path set to.
In the end, I had dynamicPublicPath=true&path=__webpack_hmr, because I was ending up with double slashes in the bundle reference url...probably could get around that somehow.
Few more updates...
You can add
dynamicPublicPath=trueto your hotClient require, and you will no longer have to set the path hardcoded (allowing your hotClient to go straight off of your dev server configuration.dynamicPublicPathwill prefix anything you havepathset to.In the end, I had
dynamicPublicPath=true&path=__webpack_hmr, because I was ending up with double slashes in the bundle reference url...probably could get around that somehow.Hey Zack! Thanks again for your feedback. I tested it and I had to add the
path= __webpack_hmrpart as well. I updated the post accordingly :)