albertinad / brackets-bower

Bower integration in Brackets.
MIT License
47 stars 9 forks source link

Uninstalling packages and bower.json file system changes leave the BowerProject model in an inconsistent state #69

Closed albertinad closed 9 years ago

albertinad commented 9 years ago

When uninstalling a package that is already in the bower.json, it is removed from bower_components folder and from bower.json (dependencies or devDependencies), then after the operation is completed, the model is updated. The BowerProject model listens to file system changes for the bower.json file, and start comparing to determine changes. File system changes when the uninstalling process has not finished yet should be ignored, assuming that a known change to the metadata file is taking place.