on master help sign in
wai-handler-devel fixes
commitda96364a1f8a5861de47e9ddb571ce1174e9a41b authorMichael Snoyman <michael@snoyman.com> dateMon 17 Mar 2014, 16:35 (13 years ago) parent30478f8
3 files changed+7−7
wai-handler-devel/wai-handler-devel-unwatched.hs+1−1 wai-handler-devel/wai-handler-devel.cabal+5−5 wai-handler-devel/wai-handler-devel.hs+1−1
wai-handler-devel/wai-handler-devel-unwatched.hs+1−1
@@ -12,7 +12,7 @@ data Devel = Devel
1212
1313main :: IO ()
1414main = do
15− Devel p m f <- cmdArgs Devel
15+ Devel p m f <- cmdArgs $ Devel
1616 { port = 3000 &= argPos 0 &= typ "PORT"
1717 , moduleName = "" &= argPos 1 &= typ "MODULE"
1818 , function = "" &= argPos 2 &= typ "FUNCTION"
wai-handler-devel/wai-handler-devel.cabal+5−5
@@ -1,5 +1,5 @@
11Name: wai-handler-devel
2−Version: 2.0.0
2+Version: 2.0.0.1
33Synopsis: WAI server that automatically reloads code after modification.
44Description: 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.
55 .
@@ -22,14 +22,14 @@ Source-repository head
2222
2323Library
2424 Build-Depends: base >= 4 && < 5
25− , wai >= 2.0 && < 2.1
26− , wai-extra >= 2.0 && < 2.1
25+ , wai >= 2.0 && < 2.2
26+ , wai-extra >= 2.0 && < 2.2
2727 , http-types >= 0.7
28− , warp >= 2.0 && < 2.1
28+ , warp >= 2.0 && < 2.2
2929 , directory >= 1.0.1
3030 , network >= 2.2.1.5
3131 , bytestring >= 0.9.1.4
32− , hint >= 0.3.2.3 && < 0.4
32+ , hint >= 0.3.2.3 && < 0.5
3333 , text >= 0.7
3434 , old-time
3535 , time
wai-handler-devel/wai-handler-devel.hs+1−1
@@ -18,7 +18,7 @@ data Devel = Devel
1818
1919main :: IO ()
2020main = do
21− Devel p m f y <- cmdArgs Devel
21+ Devel p m f y <- cmdArgs $ Devel
2222 { port = 3000 &= argPos 0 &= typ "PORT"
2323 , moduleName = "" &= argPos 1 &= typ "MODULE"
2424 , function = "" &= argPos 2 &= typ "FUNCTION"