awood / hawkins

A Jekyll plugin that incorporates LiveReload
MIT License
57 stars 4 forks source link

Get error when I manually refresh page 3 times. #16

Closed fffx closed 6 years ago

fffx commented 6 years ago

Just run jekyll liveserve, and then visit localhost:4000, click refresh page 3 times, then server crashed, this is the whole logs:

Configuration file: /home/fangxing/fffx/_config.yml
            Source: /home/fangxing/fffx
       Destination: /home/fangxing/fffx/_site
 Incremental build: enabled
      Generating...
                    done in 0.42 seconds.
 Auto-regeneration: enabled for '/home/fangxing/fffx'
Configuration file: /home/fangxing/fffx/_config.yml
    Server address: http://0.0.0.0:4000/
 LiveReload Server: 0.0.0.0:35729
  Server running... press ctrl-c to stop.
        LiveReload: Browser connected
jekyll 3.6.2 | Error:  Could not parse data entirely (0 != 251)

If this didn't happens to you, try keep click refresh , it should happened. Update: This issue should belong to http-parser https://github.com/httprb/http/issues/22