mythmon/wok — pull request #67 by robatron (2012-02-22 17:41:59+00:00)
Title: Dev server regenerates site on directory changes (Issue #39)

Rigged the dev server to watch for site source directory changes after every request, and regenerate the site if changes are found.

Because the dev server blocks while waiting for each request, it can currently only check for changes *after* every request. This means that the user must *refresh the page twice* for changes to be reflected in the browser.

I'm planning to get this working using either polling or event-based directory monitoring, but this ghetto-fab solution seems to work for now :)