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.

How to disable live reload

See original GitHub issue

I want to disable live reload but it’s not working. i tried this configurations one by one, none of them worked :

 "liveServer.settings.ignoreFiles": ["**/*.*"],
 "liveServer.settings.ignoreFiles": ["*"],
 "liveServer.settings.ignoreFiles": "*",
 "liveServer.settings.ignoreFiles": *,

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:6
  • Comments:11

github_iconTop GitHub Comments

16reactions
Far-Secommented, Aug 24, 2019

@looeee @artworkjpm @Er-rchydy

  1. Close the server.
  2. Add this in settings.json "liveServer.settings.ignoreFiles":["**"],
  3. Open server.

Your code was good, but do not forget to close and open so changes take place.

4reactions
DavidFerHcommented, Aug 21, 2021

If you are using JavaScript, yo have to use the function event.preventDefault for stop submiting a form. imagen If you don´t use it, the browser will be refreshing every few seconds and reset all your front end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular cli - how to disable auto reload when ng serve
Just do ng serve --live-reload false or ng serve --no-live-reload. It used to not work, this PR solved it.
Read more >
How to Disable Live Reload in create-react-app - Ian Sinnott
How to disable live reload in create-react-app. Here you go, insert this code into your HTML file. Probably located at public/index.html .
Read more >
Angular CLI - how to disable auto-reload when ng serve
With the –live-reload=false option, It disables reload changes at the application level. To exclude the specific directory/folder, You have to add tsconfig.json.
Read more >
Able to disable live reload in develoment mode | Voters - Expo
As mentioned, you can disable live reloading from the development menu. ·. September 5, 2019.
Read more >
How to Disable Web Page Auto-Refresh (All Major Browsers)
Click the Start button, type “internet options” and select Internet Options in the search results. In the Internet Properties window, click “ ...
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