Compare commits

...

3 Commits

Author SHA1 Message Date
Michael Snoyman
9dd2cfd63e HostPreference conflict #769 2014-07-10 08:46:16 +03:00
Michael Snoyman
0032973099 Disable idle GC for yesod binary #767 2014-07-09 06:51:55 +03:00
Michael Snoyman
9c0a3c516d Turn off idle GC for yesod devel #767 2014-07-08 17:18:40 +03:00
4 changed files with 5 additions and 4 deletions

View File

@ -258,7 +258,7 @@ devel opts passThroughArgs = withSocketsDo $ withManager $ \manager -> do
list <- liftIO $ getFileList hsSourceDirs [cabal] list <- liftIO $ getFileList hsSourceDirs [cabal]
success <- liftIO rebuild success <- liftIO rebuild
pkgArgs <- liftIO (ghcPackageArgs opts) pkgArgs <- liftIO (ghcPackageArgs opts)
let devArgs = pkgArgs ++ ["devel.hs"] let devArgs = pkgArgs ++ ["+RTS", "-I0", "-RTS", "devel.hs"]
let loop list0 = do let loop list0 = do
(haskellFileChanged, list1) <- liftIO $ (haskellFileChanged, list1) <- liftIO $
watchForChanges filesModified hsSourceDirs [cabal] list0 (eventTimeout opts) watchForChanges filesModified hsSourceDirs [cabal] list0 (eventTimeout opts)

View File

@ -95,7 +95,7 @@ executable yesod
, data-default-class , data-default-class
, streaming-commons , streaming-commons
ghc-options: -Wall -threaded -rtsopts ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-I0
main-is: main.hs main-is: main.hs
other-modules: Scaffolding.Scaffolder other-modules: Scaffolding.Scaffolder
Devel Devel

View File

@ -23,7 +23,7 @@ import Data.Maybe (fromMaybe)
import qualified Data.HashMap.Strict as M import qualified Data.HashMap.Strict as M
import System.Environment (getArgs, getProgName, getEnvironment) import System.Environment (getArgs, getProgName, getEnvironment)
import System.Exit (exitFailure) import System.Exit (exitFailure)
import Data.Conduit.Network (HostPreference) import Data.Streaming.Network (HostPreference)
import Data.String (fromString) import Data.String (fromString)
-- | A yesod-provided @'AppEnv'@, allows for Development, Testing, and -- | A yesod-provided @'AppEnv'@, allows for Development, Testing, and

View File

@ -1,5 +1,5 @@
name: yesod name: yesod
version: 1.2.6 version: 1.2.6.1
license: MIT license: MIT
license-file: LICENSE license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com> author: Michael Snoyman <michael@snoyman.com>
@ -50,6 +50,7 @@ library
, fast-logger , fast-logger
, conduit-extra , conduit-extra
, shakespeare , shakespeare
, streaming-commons
exposed-modules: Yesod exposed-modules: Yesod
, Yesod.Default.Config , Yesod.Default.Config