microsoft / live-share

Real-time collaborative development from the comfort of your favorite tools
http://aka.ms/vsls
Creative Commons Attribution 4.0 International
2.28k stars 253 forks source link

can't see the node modules in co-worker's pc #5044

Closed meminn422 closed 7 months ago

meminn422 commented 7 months ago

The user who is co-editing with me cannot see the node modules file on the other party's computer. Can you tell me how to solve it in detail? I can't find the exact way. I have tried to change the gitignore file, but it still can't be solved. thank you!

derekbekoe commented 7 months ago

Please see https://learn.microsoft.com/en-us/visualstudio/liveshare/reference/security#controlling-file-access-and-visibility

meminn422 commented 7 months ago

I just tried this, but my co-worker still can't see node modules. I created a new file .vlvs.json , and I deleted node_modules from the "excludeFiles" and "hideFiles" in .vlvs.json, but the problem still has no solution. What should I do? Thanks a loooot!