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