• 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: lajos kamocsay <email@hidden>
  • Date: Thu, 31 Jul 2008 22:46:17 -0400

Thanks for the workaround ideas. I logged a bug with apple. I guess until the problem
get fixed, I'll have to forego using code generators in the build process.


This begs a question though... am I the only one using code generators?

-lajos



On Jul 31, 2008, at 9:09 PM, Ken Thomases wrote:

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
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>)
 >Re: automatic reload of externally modified files (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Re: LLVM or GCC or Intel?
  • Next by Date: Re: Debugger won't break at breakpoints
  • Previous by thread: Re: automatic reload of externally modified files
  • Next by thread: Debugger won't break at breakpoints
  • Index(es):
    • Date
    • Thread