You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/02/12 22:07:12 UTC

[jira] [Resolved] (CB-2207) Xcode sometimes does not pick up changes to www/

     [ https://issues.apache.org/jira/browse/CB-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-2207.
-------------------------------

    Resolution: Fixed

Merged.

https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=3c3b0c00f9a7021cd7df1bd5c0353809fabde9fc

Also added timings to it. Tried it with a 100meg file in my www/. 

Using cp -r: ~2.5 seconds (this is because it was including the .git directory)
Using find + cp (no .git) Took about .8 seconds
Using find + ln Took about .2 seconds
                
> Xcode sometimes does not pick up changes to www/
> ------------------------------------------------
>
>                 Key: CB-2207
>                 URL: https://issues.apache.org/jira/browse/CB-2207
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> Pretty annoying when you make changes and click Play and your changes aren't there. I think we can fix this by changing the project template's custom build step from:
> touch -cm ${PROJECT_DIR}/www
> to:
> rm -rf "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME/www"
> exec cp -R www "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME/www"
> Any objections?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira