tapio / live-server

A simple development http server with live reload capability.
http://tapiov.net/live-server/
4.41k stars 484 forks source link

How to Disable Auto reload or live reload #326

Closed Far-Se closed 5 years ago

Far-Se commented 5 years ago

Issue description

I wanted to disable the auto reload but I only found issues opened without a solution so I will leave this here so people that are looking for it will find it.

To disable live server auto reload or live reload do this:

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

I saw a post yesterday with the same code but the poster forgot to restart the server first for changes to take place