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 server reloading twice?

See original GitHub issue

I’m submitting a…

loading_twice

[ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Feature request [ ] Documentation issue or request [x] Other: help request


## Current behavior

Start live server and see the console.log printing the message once. Change the message, save and the console.log will print twice.

## Expected behavior

print only once

## Environment

simple html + js.

Browser:

- [X] Chrome (desktop) version 68.0.3440.75
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: 5.1.1
- Platform:  Windows 10 Pro (1803, build 17134.191)
- Visual Studio Code: 1.25.1

Others

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rjoydip-zzcommented, Jul 31, 2018

@camilopedroso Thanks for the sharing above issue. We will check that too.

0reactions
rjoydip-zzcommented, Aug 1, 2018

Sure. Good to hear from you 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Browser refreshes html file twice when using Visual Studio ...
1). With the html file loaded in the browser via Live Server, whenever the html file is saved, the browser refreshes (producing a...
Read more >
The page reloads few times · Issue #139 - GitHub
When I type ctrl + s to save changes in my file, the live-server reloads the opened page immediately. Then, after ~8sec it...
Read more >
How to run things locally – three.js docs
Run a local server ; Node.js five-server. Development server with live reload capability. To install: ; Node.js http-server. Node.js has a simple HTTP...
Read more >
10 useful vscode extensions - Dev Genius
03. LIVE SERVER : Launch a development local Server with live reload feature for static & dynamic pages.
Read more >
Improving Development with a Live Development Server
However, Live Server won't automatically live reload our projects now that we're using webpack to generate HTML and bundle our JS and CSS....
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