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

[ 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 ()

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0, 0.0.1, 0.0.2, 0.1.0, 0.1.0.1, 0.1.1, 0.1.1.1, 0.1.1.2, 0.2.0, 0.2.0.1, 0.2.1, 0.4.0, 0.4.2, 0.4.3, 0.4.3.1, 0.4.4, 0.4.4.1, 1.0.0, 1.1.0, 1.2.0, 1.2.0.1, 1.2.0.2, 1.3.0, 1.3.0.1, 1.3.0.2, 1.3.0.3, 1.3.0.4, 1.3.0.5, 1.3.0.6, 2.0.0, 2.0.0.1, 2.0.0.2
Dependencies attoparsec (>=0.10), base (>=4 && <5), bytestring (>=0.9.1.4), cmdargs (>=0.4), directory (>=1.0.1), hint (>=0.3.2.3 && <0.5), http-types (>=0.7), network (>=2.2.1.5), old-time, text (>=0.7), time, transformers (>=0.2.2), wai (>=2.0 && <2.2), wai-extra (>=2.0 && <2.2), warp (>=2.0 && <2.2) [details]
License MIT
Author Michael Snoyman
Maintainer michael@snoyman.com
Category Web
Home page http://github.com/yesodweb/wai
Source repo head: git clone git://github.com/yesodweb/wai.git
Uploaded by MichaelSnoyman at 2014-03-26T12:06:05Z
Distributions
Reverse Dependencies 2 direct, 74 indirect [details]
Executables wai-handler-devel-unwatched, wai-handler-devel
Downloads 20277 total (60 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]