Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

this.serverHandler.sockWrite is not a function #3

Closed
quantumwebco opened this issue Sep 26, 2021 · 0 comments · Fixed by #4
Closed

this.serverHandler.sockWrite is not a function #3

quantumwebco opened this issue Sep 26, 2021 · 0 comments · Fixed by #4

Comments

@quantumwebco
Copy link

quantumwebco commented Sep 26, 2021

    "laravel-mix": "^6.0.31",
    "laravel-mix-blade-reload": "^2.0.0",

npx mix watch --hot compiles fine the first time but when saving a file throws this error and the browser is not hot reloaded

/node_modules/laravel-mix-blade-reload/dist/index.js:89
            this.serverHandler.sockWrite(this.serverHandler.sockets, 'content-changed');
                               ^

TypeError: this.serverHandler.sockWrite is not a function
    at BladeReload.reload (/node_modules/laravel-mix-blade-reload/dist/index.js:8
9:32)

What other information do you need to debug?

Thanks

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

Successfully merging a pull request may close this issue.

1 participant