Skip to content

Commit

Permalink
exec purgeProjectFileCache when pod install (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
knight9999 authored and shazron committed Feb 26, 2018
1 parent f45a8a1 commit 01742bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/templates/scripts/cordova/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ Api.prototype.addPlugin = function (plugin, installOptions) {
if (podfileFile.isDirty()) {
podfileFile.write();
events.emit('verbose', 'Running `pod install` (to install plugins)');
projectFile.purgeProjectFileCache(self.locations.root);

return podfileFile.install(check_reqs.check_cocoapods);
} else {
Expand Down

0 comments on commit 01742bf

Please sign in to comment.