Skip to content

Commit

Permalink
adding a note on pipe errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart committed Jul 24, 2023
1 parent 59771d3 commit 3e727f7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@ To install it in Julia ≥ 1.6, use the package manager with
pkg> add LiveServer
```

### Broken pipe message

Infrequently, you _may_ see an error message in your console while using LiveServer that does not
interrupt the server and does not otherwise affect your ability to see updates in the browser.
This error message will look like

```
┌ LogLevel(1999): handle_connection handler error
│ exception =
│ IOError: write: broken pipe (EPIPE)
```

You can basically ignore this message, it's a problem with [HTTP.jl](https://github.com/JuliaWeb/HTTP.jl).

If your application depends on LiveServer and you'd like to avoid having that kind of messages being shown to your users, you can consider using [LoggingExtras.jl](https://github.com/JuliaLogging/LoggingExtras.jl) which
allows you to filter out messages based on their provenance.

We experimented with shipping LoggingExtras in LiveServer but ended up rolling that back as it made
other applications less stable.



### Legacy notes

For Julia `< 1.6`, you can use LiveServer's version 0.9.2:
Expand Down

0 comments on commit 3e727f7

Please sign in to comment.