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 not working after first reload

See original GitHub issue

Using the sveltejs template and running with npm run dev livereload stops working after first reload.

Issue persists after re-running npm run dev no logs from browser or terminal to suggest anything has gone wrong

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
sansnomcommented, Jun 17, 2020

Even worst for me with svelte template: command exit (rollup -c -w) without any error.

Also tried different versions: 1.0.0, 1.1.0, 1.2.0. And different OS:

  • Windows. npm: 6.13.4, node: 12.16.1, rollup: 2.16.1
  • WSL Ubuntu. npm: 6.14.4, node: 13.13.0, rollup: 2.16.1

Removing livereload from the config solve the issue: command works fine.

I was wondering if it was only me but seems like I’m not alone: https://github.com/sveltejs/template/issues/133

Thanks for reading !

4reactions
thghcommented, May 31, 2020

You can find the options here: https://www.npmjs.com/package/livereload

{ delay: 200 } could work for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug]: Live Reload not working. · Issue #1601 · remix-run/remix
I just did a brief experiment and moving a component into the app/ directory seems to fix it — i.e. causes changes to...
Read more >
Webpack devServer v. 4.x.x live reload not working
I'm following these webpack 5 guides, and webpack-dev-server v4.3.1 does not live reload the sample project (a recompile does happen after ...
Read more >
Live Reloading Content during Development
The idea is to fail fast, fix fast - and Live Reload picks up the change immediately to refresh the active page -...
Read more >
Difference between Hot Reloading and Live ... - GeeksforGeeks
Live reloading will reload the whole app and completely reinitialize the state. It only reloads the file that changed. It reloads the whole...
Read more >
Beyond Hot Reload: 'Live Reload' and More
"Show the browser's Elements and Network tool inside the Visual Studio Code editor and use it to fix CSS issues with your site...
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