yesodweb/wai — pull request #21 by jargv (2011-11-24 02:20:47+00:00)
Title: Added the ability to include user actions in the wai development handler

Also added an example demonstrating a compelling use case: The user
clicks on the browser the first time the app loads. Each successive time
the server is reloaded, the browser is automatically refreshed (sent the
F5 key). This example requires xdotool (linux only?) to collect the
window pid and send the F5 keypress to the browser.

This example is just a minor convenience, but it's one that I've grown
accustomed to with other development environments. The general
feature might be useful for other reasons as well, though I'm out of
interesting examples.