summaryrefslogtreecommitdiffhomepage
path: root/Role/Watcher.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-04-27 09:39:55 -0400
committerJoey Hess <joeyh@joeyh.name>2017-04-27 09:47:07 -0400
commit937b55549b4ba72b0392d7e139e592a40eec2101 (patch)
treed11a33aff3bd54c6bc66058028657915481181de /Role/Watcher.hs
parentc13c732ac4174dca2341a8b3ea84582c01ce5cde (diff)
downloaddebug-me-937b55549b4ba72b0392d7e139e592a40eec2101.tar.gz
rename LogMessage to AnyMessage
Not related to the Log anymore.
Diffstat (limited to 'Role/Watcher.hs')
-rw-r--r--Role/Watcher.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Role/Watcher.hs b/Role/Watcher.hs
index 1ca0ae7..8bcc91c 100644
--- a/Role/Watcher.hs
+++ b/Role/Watcher.hs
@@ -14,7 +14,7 @@ import Data.Time.Clock.POSIX
run :: WatchOpts -> IO ()
run = run' watcher . watchUrl
-watcher :: TMChan (Message Entered) -> TMChan LogMessage -> SessionID -> IO ()
+watcher :: TMChan (Message Entered) -> TMChan AnyMessage -> SessionID -> IO ()
watcher _ichan ochan _ = inRawMode $ do
(st, startoutput) <- processSessionStart ochan nullLogger
emitOutput startoutput