summaryrefslogtreecommitdiff
path: root/Command/Watch.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-27 15:33:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-27 15:33:24 -0400
commit02ec8ea01254637facb30f77b7cb74be3b735c0d (patch)
tree3ba054919ab49a457c287163d5b41f8f4e3e5678 /Command/Watch.hs
parentbc5b1516175f143f42bda2d12f512768d2df7c9e (diff)
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.
Diffstat (limited to 'Command/Watch.hs')
-rw-r--r--Command/Watch.hs2
1 files changed, 1 insertions, 1 deletions
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