Sorry if this is a duplicate. I saw there was #10 but I think this is a little different. With webpack-dev-server we're running it off another port locally. I looked at how wds tries to establish the socket and noticed __resourceQuery, but also that it falls back to trying to use document.currentScript. For the time being would it be ok to add in trying to parse document.currentScript and fall back to the current behavior? Happy to PR this, just wanted to check if it was something you'd want 😁
Sorry if this is a duplicate. I saw there was #10 but I think this is a little different. With
webpack-dev-serverwe're running it off another port locally. I looked at howwdstries to establish the socket and noticed__resourceQuery, but also that it falls back to trying to usedocument.currentScript. For the time being would it be ok to add in trying to parsedocument.currentScriptand fall back to the current behavior? Happy to PR this, just wanted to check if it was something you'd want 😁