Re: automatic reload of externally modified files
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