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.

When using Live Share updates are not seen

See original GitHub issue

When someone on live share edits a sass file it does not seem to get picked up as a changed file, I have to go into the file and save it myself to get it to trigger.

The other person also has the extension installed and gets the following error on their side:

Compilation Error
Error: src/client/css/base.sass: no such file or directory

Edit: if I stay in the sass file with him he is able to save from his side and it will pick up on the changes and recompile. I tried keeping the file open in a split view tab but that does not seem to work.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
glenn2223commented, Jan 30, 2022

The extension is set up so that when you save a file it checks if that file is a Sass file and then compiles it. As you are not directly saving the file vscode doesn’t know it needs to trigger my extension.

With you having the file open directly it may apply the change as a save to keep your system up to date with the latest edit/revision.

The other user may be getting the error as the files are not local. Though I’m not sure.

I will check the live share code and see how it works. I’ll also check see if the expected behaviour is even possible in this scenario.

Please be aware that this might not even be possible

0reactions
glenn2223commented, Mar 10, 2022

Closing as awaiting feedback

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Visual Studio Live Share - Microsoft Learn
Signing in to the Live Share extension in VS/VS Code does not opt you into receiving email updates. Live Share requires guests to...
Read more >
Liveshare session is not updating with remote user input
Active liveshare session between two vs 2019 (16.1) is failing to update the source machine with remote input.
Read more >
Live share not working - no reason why given · Issue #3875
Describe what happened: When I select the share read/write option after I've installed the live share extension pack, nothing happens.
Read more >
How to fix VS Code "live share" extension not responding to ...
If the Live Share plugin doesn't have the Linux dependencies installed it can fail silently. This presents as there being no way to...
Read more >
How to use Live Server and view updates right in VsCode ...
In this tutorial, Dr. Todd Wolfe demonstrates how to use Live Server in VsCode along with how to view your updates directly within...
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