clearloop / elvis

Your wasm UI library
https://elvisjs.github.io/
MIT License
108 stars 8 forks source link

Broken pipe error in the websocket connection of development server #10

Open clearloop opened 4 years ago

clearloop commented 4 years ago

Desc

websocket err, send message failed :Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })

How to reproduce

Just run epm dev under the directory of your elvis APP, modify your code.

boundless-forest commented 4 years ago

Hi, I did not reproduce the issue in local, maybe I missed some critical ops.

The steps I did:

# 1
$ cd my-app && epm dev

#2 
$ open http://localhost:3000/ 

# 3 
 modify the code in src/lib.rs

#  4
check  console log

Would you please provide more detail info about this bug issue?

clearloop commented 4 years ago

Would you please provide more detail info about this bug issue?

This bug happens sometimes, and the development server can still work after it happened.

If it happens rarely now, we can just leave it alone and fix it in the future.

Would you like to try #33 @pfwangdx ? That issue is more clearly

boundless-forest commented 4 years ago

OK