Vscode-live-server: How to disable live reload

Created on 1 Jan 2019  路  3Comments  路  Source: ritwickdey/vscode-live-server

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": *,
need to check

Most helpful comment

@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.

All 3 comments

I'm trying to do the same!

Same... the server is very handy, but it reloads the page about 5 times for every file change which is killing my eyes. I need to disable reloading.

@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.

Was this page helpful?
0 / 5 - 0 ratings