This is an automated email from the ASF dual-hosted git repository.

shazron pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new 01742bf  exec purgeProjectFileCache when pod install (#354)
01742bf is described below

commit 01742bf27d731c70eaec3270c405e09882a313f2
Author: Kenichi Naito <fine1...@gmail.com>
AuthorDate: Mon Feb 26 14:39:24 2018 +0900

    exec purgeProjectFileCache when pod install (#354)
---
 bin/templates/scripts/cordova/Api.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/templates/scripts/cordova/Api.js 
b/bin/templates/scripts/cordova/Api.js
index dd50d11..04da4a1 100644
--- a/bin/templates/scripts/cordova/Api.js
+++ b/bin/templates/scripts/cordova/Api.js
@@ -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 {

-- 
To stop receiving notification emails like this one, please contact
shaz...@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to