Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatic reload of externally modified files



On Jul 31, 2008, at 1:54 PM, lajos kamocsay wrote:

It doesn't reload if I don't switch to another application. Jens' workaround will help,
but it's annoying that I need to do it after each build.

It's a hack, but you can put this in the script:

osascript -e 'tell app "Finder" to activate'
osascript -e 'tell app "Xcode" to activate'

Although that will be equally annoying if you deliberately switch away from Xcode while the build is happening to do something else. You could write a script that actually tests if Xcode is frontmost and only switch away and back if so.

By the way, have you told Xcode that the run-script phase outputs the files in question? (At the bottom of the Info window for the phase)


Maybe I'll send a bug about it.

Good idea.

Cheers,
Ken

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >automatic reload of externally modified files (From: lajos kamocsay <email@hidden>)
 >Re: automatic reload of externally modified files (From: "Sean McBride" <email@hidden>)
 >Re: automatic reload of externally modified files (From: Jens Alfke <email@hidden>)
 >Re: automatic reload of externally modified files (From: lajos kamocsay <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.