Vscode-ng-language-service: How to stop watching the dist folder

Created on 25 Jan 2018  ·  6Comments  ·  Source: angular/vscode-ng-language-service

Angular Lanuage Service seems to watch my dist folder and I cannot find a way to stop the plugin from doing that.

My main problem is, that it also very often locks the files which are created and often fastly deleted again and I get errors like

BUILD ERROR
EPERM: operation not permitted, unlink 'C:\Development\...

As soon as I disable the language service completly, the errors go away.

Most helpful comment

This is fixed in the new extension, which will be released in conjunction with Angular v9.
Meanwhile please try out the RC version by downloading the binary from the Release page.

All 6 comments

I can confirm this behaviour.

It prevents ng-packagr from executing successfully, since the Angular Language Service plugin locks files in the dist/src folder.

I was actually also running into the problem while using ng-packagr.

This is fixed in the new extension, which will be released in conjunction with Angular v9.
Meanwhile please try out the RC version by downloading the binary from the Release page.

The new extension is now live. Please download it from https://marketplace.visualstudio.com/items?itemName=Angular.ng-template
I'd like to close this issue for now. Please open a new issue for any lingering bugs, thank you!

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings