{"action":"created","issue":{"url":"https://api.github.com/repos/gotdibbs/Imposter.Fiddler/issues/6","repository_url":"https://api.github.com/repos/gotdibbs/Imposter.Fiddler","labels_url":"https://api.github.com/repos/gotdibbs/Imposter.Fiddler/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/gotdibbs/Imposter.Fiddler/issues/6/comments","events_url":"https://api.github.com/repos/gotdibbs/Imposter.Fiddler/issues/6/events","html_url":"https://github.com/gotdibbs/Imposter.Fiddler/issues/6","id":176513060,"number":6,"title":"Auto Reload not working","user":{"login":"rajyraman","id":5035266,"avatar_url":"https://avatars.githubusercontent.com/u/5035266?v=3","gravatar_id":"","url":"https://api.github.com/users/rajyraman","html_url":"https://github.com/rajyraman","followers_url":"https://api.github.com/users/rajyraman/followers","following_url":"https://api.github.com/users/rajyraman/following{/other_user}","gists_url":"https://api.github.com/users/rajyraman/gists{/gist_id}","starred_url":"https://api.github.com/users/rajyraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajyraman/subscriptions","organizations_url":"https://api.github.com/users/rajyraman/orgs","repos_url":"https://api.github.com/users/rajyraman/repos","events_url":"https://api.github.com/users/rajyraman/events{/privacy}","received_events_url":"https://api.github.com/users/rajyraman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-12T23:46:09Z","updated_at":"2016-09-13T23:08:06Z","closed_at":null,"body":"I get this error when I try to enable Auto Reload the first time. I no longer get the error after re-opening fiddler, but the browser doesn't seem to be refreshing when I change the files on the disk. I am changing a JS webresource. Is this feature available only for html files at the moment?\r\n\r\n```\r\nSee the end of this message for details on invoking \r\njust-in-time (JIT) debugging instead of this dialog box.\r\n\r\n************** Exception Text **************\r\nSystem.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Imposter.Fiddler.Imposter.AutoReload_Click(Object sender, EventArgs e)\r\n   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)\r\n   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)\r\n   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)\r\n   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)\r\n   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)\r\n   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)\r\n   at System.Windows.Forms.Control.WndProc(Message& m)\r\n   at System.Windows.Forms.ToolStrip.WndProc(Message& m)\r\n   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)\r\n   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gotdibbs/Imposter.Fiddler/issues/comments/246854643","html_url":"https://github.com/gotdibbs/Imposter.Fiddler/issues/6#issuecomment-246854643","issue_url":"https://api.github.com/repos/gotdibbs/Imposter.Fiddler/issues/6","id":246854643,"user":{"login":"gotdibbs","id":1540648,"avatar_url":"https://avatars.githubusercontent.com/u/1540648?v=3","gravatar_id":"","url":"https://api.github.com/users/gotdibbs","html_url":"https://github.com/gotdibbs","followers_url":"https://api.github.com/users/gotdibbs/followers","following_url":"https://api.github.com/users/gotdibbs/following{/other_user}","gists_url":"https://api.github.com/users/gotdibbs/gists{/gist_id}","starred_url":"https://api.github.com/users/gotdibbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gotdibbs/subscriptions","organizations_url":"https://api.github.com/users/gotdibbs/orgs","repos_url":"https://api.github.com/users/gotdibbs/repos","events_url":"https://api.github.com/users/gotdibbs/events{/privacy}","received_events_url":"https://api.github.com/users/gotdibbs/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T23:08:06Z","updated_at":"2016-09-13T23:08:06Z","body":"@rajyraman what happens is that Imposter injects a script into any HTML page it serves up based on your configuration which polls Fiddler to check and see if any files have changed on your computer. If they have, the injected script refreshes the page. This means that if you have script attached to a form in Dynamics CRM, it will not refresh. The only time a JavaScript web resource would refresh is when it is included on an HTML web resource.\r\n\r\nI'll look into the exception you're getting a bit more, but likely won't have time until later this week. Feel free to download the source code and try to debug before then if you'd like. Should be as simple as cloning, then F5-debugging."}}
{"actor":{"display_login":"gotdibbs"}}