Skip to content

Commit

Permalink
Iggnore "workspace/didChangeWatchedFiles" notification.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanz committed Dec 3, 2017
1 parent 6fa9f08 commit 19d5494
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Haskell/Ide/Engine/Transport/LspStdio.hs
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,9 @@ reactor (DispatcherEnv cancelReqTVar wipTVar versionTVar moduleCacheTVar) cin in
Core.NotWillSaveTextDocument _notification -> do
liftIO $ U.logm "****** reactor: not processing NotDidSaveTextDocument"

Core.NotDidChangeWatchedFiles _notification -> do
liftIO $ U.logm "****** reactor: not processing NotDidChangeWatchedFiles"

Core.NotDidSaveTextDocument notification -> do
liftIO $ U.logm "****** reactor: processing NotDidSaveTextDocument"
let
Expand Down Expand Up @@ -874,6 +877,7 @@ hieHandlers rin
, Core.didOpenTextDocumentNotificationHandler = Just $ passHandler rin Core.NotDidOpenTextDocument
, Core.willSaveTextDocumentNotificationHandler = Just $ passHandler rin Core.NotWillSaveTextDocument
, Core.didSaveTextDocumentNotificationHandler = Just $ passHandler rin Core.NotDidSaveTextDocument
, Core.didChangeWatchedFilesNotificationHandler = Just $ passHandler rin Core.NotDidChangeWatchedFiles
, Core.didChangeTextDocumentNotificationHandler = Just $ passHandler rin Core.NotDidChangeTextDocument
, Core.didCloseTextDocumentNotificationHandler = Just $ passHandler rin Core.NotDidCloseTextDocument
, Core.cancelNotificationHandler = Just $ passHandler rin Core.NotCancelRequest
Expand Down

0 comments on commit 19d5494

Please sign in to comment.