{"action":"closed","issue":{"url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/204","labels_url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/204/comments","events_url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/204/events","html_url":"https://github.com/fsharp/FSharp.Compiler.Service/issues/204","id":41411643,"number":204,"title":"InteractiveChecker should include context of file invalidation","user":{"login":"7sharp9","id":588746,"avatar_url":"https://avatars.githubusercontent.com/u/588746?v=3","gravatar_id":"","url":"https://api.github.com/users/7sharp9","html_url":"https://github.com/7sharp9","followers_url":"https://api.github.com/users/7sharp9/followers","following_url":"https://api.github.com/users/7sharp9/following{/other_user}","gists_url":"https://api.github.com/users/7sharp9/gists{/gist_id}","starred_url":"https://api.github.com/users/7sharp9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7sharp9/subscriptions","organizations_url":"https://api.github.com/users/7sharp9/orgs","repos_url":"https://api.github.com/users/7sharp9/repos","events_url":"https://api.github.com/users/7sharp9/events{/privacy}","received_events_url":"https://api.github.com/users/7sharp9/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/labels/added%20value","name":"added value","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-08-28T16:35:29Z","updated_at":"2015-07-31T15:17:03Z","closed_at":"2015-07-31T15:17:03Z","body":"When the InteractiveChecker fires the dirty notification `BeforeBackgroundFileCheck` there is no indication of the context, e.g. was this file invalidated because of a TypeProvider invalidation or a general invalidation due to a File being type checked.\r\n\r\nThis context is important because if you have asked for a file to be type checked `CheckFileInProject` you probably don't want to act on the dirty notify event as you will have already consumed the results.  We get this in the F# addin which results in each file being processed twice on each change in the editor when there is actually only one change."}}