• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: automatic reload of externally modified files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatic reload of externally modified files


  • Subject: Re: automatic reload of externally modified files
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 31 Jul 2008 20:09:48 -0500

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: automatic reload of externally modified files
      • From: lajos kamocsay <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>)

  • Prev by Date: Re: IB 3.1 breaks NSCollectionView bindings?
  • Next by Date: Re: Turning off xcodebuild/gcc verbose
  • Previous by thread: Re: automatic reload of externally modified files
  • Next by thread: Re: automatic reload of externally modified files
  • Index(es):
    • Date
    • Thread