On Friday 25 October 2002 08:48 am, Jason Hildebrand wrote: > Well right now ImportSpy hooks itself in regardless of whether > AutoReload is activated or not. I would have preferred to have > AutoReloadingAppServer install the ImportSpy hook, but I also wanted > ImportSpy to get hooked in as soon as possible, so that most modules > get monitored. Do you see a better way of doing this?
Just a thought: Could the top of Launch.py import the sys module and check the command line args to determine if ImportSpy should be loaded? This would obviously require a command line arg either to AppServer and perhaps a convenience script named AutoReloadingAppServer script. I'm not sure if ImportSpy has any performance impact on non-autoreloading servers (e.g., your non-autoreloading production box). -Chuck ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel