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.

Is Live Reload = true the correct default?

See original GitHub issue

(Standard Disclaimer: I love Ember Twiddle; Thank You for continuing to maintain it ❤️ )

I am not a fan of Live Reload.

  • The constant flashing on the right pane is distracting and anxiety-inducing
  • The user experience of your app breaking and failing to render anything at all simply because you started typing a <p>... and haven’t gotten around to typing the closing </p> (or any JavaScript equivalent) is pretty brutal
  • It’s performance-intensive to continually reload the iframe and the entire Ember JS payload and app, so even if the flashing weren’t so distracting, I’d still feel the jank as I continue to type while the app is recompiling/reloading from the background.

Possible nicer alternatives:

  • Disable Live Reload by default
  • When Live Reload is disabled, user can press CMD+Enter (or your favorite OS equivalent) to reload the app (JSBin does this to great success)

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:2
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Gaurav0commented, Jun 25, 2018

Sorry, my understanding of “reloading the app” was that you meant reloading the entire app (ember-twiddle). If you only are talking about rerunning the gist/project (“run now”) that is fine.

1reaction
Gaurav0commented, Jan 31, 2018

I would be happy to accept a PR implementing the keyboard shortcut.

Read more comments on GitHub >

github_iconTop Results From Across the Web

live-reload-* command line options need documentation #53
I am trying to change my live-reload-host to localhost because my http port is ... help | grep reload --live-reload (Boolean) (Default: true)...
Read more >
A complete guide to full-stack live reload - LogRocket Blog
Some will say that HMR is better than live reload, and that's true in some situations. For many projects, however, live reload will...
Read more >
Can Angular CLI be configured to live-reload on save only?
The default action is to live reload on save, it is more likely that your editor/IDE is auto saving on every change, you...
Read more >
livereload - npm
The default for this is true . applyImgLive tells LiveReload to reload image files in the background instead of refreshing the page. The...
Read more >
Using Angular's Live Reload Web Server to Refresh Pages on ...
By default this server is set up to run as a local Web server, but you can set it up quite easily to...
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