Current behavior
run script styleguidist server, after reload page, the dev server is crash
To reproduce
1.upgrade to 11.1.2 or 11.1.1, run styleguidist server and open styleguidist in chrome
2.Open chrome console panel
new WebSocket('ws://localhost:6060/sockjs-node') and press enterI found the reason:
https://github.com/styleguidist/react-styleguidist/issues/1705#issuecomment-726536041
I think this should be config in https://github.com/styleguidist/react-styleguidist/blob/master/src/scripts/create-server.ts#L12, no in user webpack.config.js
Expected behavior
server don't crash
Feel free to send a pull request with a fix 👾
Seems like same issue here: ECONNRESET right after styleguidist builds (Compiled successfully.) and is opened in the browser, leading to socket communication.
Running on node 14.14.0, npm 6.14.8
If I downgrade to react-styleguidist 11.1.1, no errors.
:tada: This issue has been resolved in version 11.1.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Most helpful comment
Seems like same issue here: ECONNRESET right after styleguidist builds (Compiled successfully.) and is opened in the browser, leading to socket communication.
Running on node 14.14.0, npm 6.14.8
If I downgrade to react-styleguidist 11.1.1, no errors.