wai-handler-devel: WAI server that automatically reloads code after modification.

[ deprecated, library, mit, program, web ] [ Propose Tags ]
Deprecated. in favor of yesod-bin

This handler automatically reloads your source code upon any changes. It works by using the hint package, essentially embedding GHC inside the handler. The handler (both the executable and library) takes three arguments: the port to listen on, the module name containing the application function, and the name of the function.

One major note: the type of the application is most likely not what you expect. A common case for WAI applications is having a withApplication function, and this library assumes this is the case. Therefore, the type signature of your application function must be:

withYourApp :: (Application -> IO ()) -> IO ()
Versions 0.0.0, 0.0.1, 0.0.2, 0.1.0,, 0.1.1,,, 0.2.0,, 0.2.1, 0.4.0, 0.4.2, 0.4.3,, 0.4.4,, 1.0.0, 1.1.0, 1.2.0,,, 1.3.0,,,,,,, 2.0.0,,
Dependencies base (>=3 && <5), bytestring (==0.9.*), cmdargs (==0.4.*), directory (==1.0.*), hint (>= && <0.4), network (==2.2.*), sendfile (>=0.6 && <0.8), wai (>=0.2.1 && <0.3) [details]
License BSD-3-Clause
Author Michael Snoyman
Maintainer michael@snoyman.com
Category Web
Home page http://github.com/snoyberg/wai-handler-devel
Source repo head: git clone git://github.com/snoyberg/wai-handler-devel.git
Uploaded by MichaelSnoyman at Wed Sep 15 21:28:22 UTC 2010
Distributions NixOS:
Executables wai-handler-devel
Downloads 9889 total (51 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees