Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next.js (webpack) hot module reloading does not work #11

Open
curiousercreative opened this issue Jun 2, 2023 · 2 comments
Open

Next.js (webpack) hot module reloading does not work #11

curiousercreative opened this issue Jun 2, 2023 · 2 comments

Comments

@curiousercreative
Copy link

software versions

$ cat /etc/os-release
PRETTY_NAME="Pop!_OS 22.04 LTS"
$ node --version
v18.15.0
$ yarn tunnelmole -V
2.1.10
$ yarn next --version
Next.js v12.3.4

repro

  1. yarn add tunnelmole
  2. yarn next dev & yarn tunnelmole 3000
    ER/AR: tunnel seems to work, the Next.js app loads in browser
  3. Make some arbitrary templating change (copy, remove a block of content, etc)
    ER: the tunneled app should update without a reload
    AR: tunneled app does not update until page is reloaded
    AR: Browser console error:

    Socket connection to 'wss://qmwe6k-ip-xx-xx-xx-xxx.tunnelmole.com/_next/webpack-hmr' failed: Error during WebSocket handshake: Unexpected response code: 404

@thgh
Copy link

thgh commented Jul 14, 2023

I looked into WebSocket support in robbie-cahill/tunnelmole-service#6

@BanDroid
Copy link

BanDroid commented Jul 1, 2024

nextjs 14 still not working with the websocket issue, is this being worked on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants