question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Live reload gets broken after browser refresh

See original GitHub issue

How often can you reproduce it?

  • Always
  • Sometimes
  • Rarely
  • Unable
  • I didn’t try

Description:

I just generated a new app project with DoneJS@1.1.0. Live reload works well for the 1st time in browser, but when I hit browser refresh it stops working (till I restart DoneJS server).

Steps to reproduce:

  1. Generate DoneJS app
  2. Run donejs develop
  3. Open localhost:8080 in browser
  4. Refresh browser

image

Donejs server error:

events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at _errnoException (util.js:1019:11)
    at TCP.onread (net.js:608:25)

Expected results:

Live reload should work after browser refresh.

Actual results:

Live reload is broken.

Environment:

Software Version
donejs -V 1.1.0
node -v 8.6.0
npm -v 5.5.1
Browser Chrome 63.0.3239.84
Operating system MacOS Sierra

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
matthewpcommented, Jan 4, 2018
0reactions
matthewpcommented, Jan 4, 2018

It was caused by a change in ws: https://github.com/websockets/ws/issues/1256#issuecomment-352337313

And also a bug in Chrome 63.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug]: Live Reload not working. · Issue #1601 · remix-run/remix
This worked for me! I was having an issue where live reload worked just fine until I added or deleted a new file....
Read more >
Live reload broken - support - HUGO
This is what I've tried so far: manually refresh the browser after each change; hugo server --buildDrafts; hugo server --watch --buildDrafts ...
Read more >
Live server not refreshing browser - Stack Overflow
What i mean about "doesn't work" is that it doesn't refresh the broswer after modifications of the code but i can open it....
Read more >
Why webpack-dev-server Live-Reload Is Not Working - Medium
However, webpack-dev-server is not monitoring changes to your contentBase so it does not force a browser refresh. Setting watchContentBase to ...
Read more >
Basic Features: Fast Refresh - Next.js
If you make a syntax error during development, you can fix it and save the file again. The error will disappear automatically, so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found