Files removed while using GIT and ng serve
Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.0.0 node: 6.10.2 os: linux x64 @angular/animations: 4.0.2 @angular/common: 4.0.2 @angular/compiler: 4.0.2 @angular/core: 4.0.2 @angular/forms: 4.0.2 @angular/http: 4.0.2 @angular/material: 2.0.0-beta.3 @angular/platform-browser: 4.0.2 @angular/platform-browser-dynamic: 4.0.2 @angular/router: 4.0.2 @angular/cli: 1.0.0 @angular/compiler-cli: 4.0.2
Repro steps.
- Run ng serve.
- Change something in one of the components and save (just so code will recompile).
- Try to discard change with GIT (I'm using SourcTree v. 1.9.10). Action is rejected because file is used by another process (ng serve obviously).
- Stop CLI server.
- Hit git status / check in your favourite IDE -> file is deleted.
The log given by the failure.
Desired functionality.
Angular CLI should not mess with GIT.
Mention any other details that might be useful.
Sometimes to get an error you need to changes&save several times.
I don't think this is an angular issue. How can this be duplicated?
Angular CLI does not mess with git. The only time it does anything git related is on ng new. This sounds like some interaction between editors/sourcetree/cli/filesystem.
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.