On Fri, Sep 11, 2009 at 6:18 PM, Jonathan Swartz <swa...@pobox.com> wrote: > But if you change a module, wouldn't your first subsequent request hit the > 'old' code? That's the benefit of an independent watcher, it'll operate in > the time between when you've changed your module and when you hit the server > again.
That's true. You could have it check for changes at the beginning of the request, and if it sees any it could send a redirect to itself and kill the current process. Not perfect though. I think the way you suggested sounds fine. - Perrin