0

Me and my colleague have an issue while using Live Share in VS Code. We are working on the same project shared via Live Share. So the problem is, whenever me or my colleague edits the code in VS Code, the web page reloads every time.

Is there a way to stop this behavior? or can you share any alternative methods?

Also, if possible please share any links or key words which might be helpful.

We have tried disabling auto-save of VS Code, but it didn't work.

blaze
  • 3
  • 2
  • When you say "edit", do you really mean "edit and save"? It only live reloads when I save. – starball Feb 23 '23 at 08:30
  • I don't see any setting to disable live reloading. If you only make CSS changes, then by default, there shouldn't be any reloading, since the extension can inject CSS changes without reloading (see the `liveServer.settings.fullReload` setting). There's also the `liveServer.settings.wait`, which allows you to control delay in milliseconds before live reloading happens. – starball Feb 23 '23 at 08:34
  • @user Sorry for the late response. The reload happens whenever we type on the keyboard. So on each keyboard button click, the local webpage reloads. Again, just for clarity, we are using Live Share Extension in VS Code to work on the same project in real time. I will try the above suggested solution and get back to you soon. – blaze Feb 23 '23 at 16:42
  • Thank you @user. I delayed the reload of Live Server settings as per your suggestion. Now the annoying problem is gone. – blaze Feb 24 '23 at 08:45
  • ..... for what? – starball Feb 24 '23 at 08:45

0 Answers0