-no-recomp because we're doing our own recompilation checking

This commit is contained in:
Spencer Janssen
2007-11-20 21:57:44 +00:00
parent 6ce125a566
commit 7e2ec3840c

View File

@@ -334,7 +334,7 @@ recompile = liftIO $ do
binT <- getModTime bin
when (srcT > binT) $ do
status <- bracket (openFile err WriteMode) hClose $ \h -> do
waitForProcess =<< runProcess "ghc" ["--make", "xmonad.hs", "-i", "-v0"] (Just dir)
waitForProcess =<< runProcess "ghc" ["--make", "xmonad.hs", "-i", "-no-recomp", "-v0"] (Just dir)
Nothing Nothing Nothing (Just h)
-- now, if it fails, run xmessage to let the user know: