From 02ec8ea01254637facb30f77b7cb74be3b735c0d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 27 Jul 2012 15:33:24 -0400 Subject: much better webapp startup of the assistant This avoids forking another process, avoids polling, fixes a race, and avoids a rare forkProcess thread hang that I saw once time when starting the webapp. --- Command/Watch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Watch.hs') diff --git a/Command/Watch.hs b/Command/Watch.hs index 744844c4d..61c859106 100644 --- a/Command/Watch.hs +++ b/Command/Watch.hs @@ -34,5 +34,5 @@ start :: Bool -> Bool -> Bool -> CommandStart start assistant foreground stopdaemon = notBareRepo $ do if stopdaemon then stopDaemon - else startDaemon assistant foreground -- does not return + else startDaemon assistant foreground Nothing -- does not return stop -- cgit v1.2.3