{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/brackets/issues/564","repository_url":"https://api.github.com/repos/mozilla/brackets","labels_url":"https://api.github.com/repos/mozilla/brackets/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/brackets/issues/564/comments","events_url":"https://api.github.com/repos/mozilla/brackets/issues/564/events","html_url":"https://github.com/mozilla/brackets/pull/564","id":187799946,"number":564,"title":"Watch and warn on rename or delete events for the root index.html file","user":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"assignees":[{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-11-07T19:09:30Z","updated_at":"2016-11-08T17:42:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/brackets/pulls/564","html_url":"https://github.com/mozilla/brackets/pull/564","diff_url":"https://github.com/mozilla/brackets/pull/564.diff","patch_url":"https://github.com/mozilla/brackets/pull/564.patch"},"body":"This is part of https://github.com/mozilla/thimble.mozilla.org/issues/1569#issuecomment-258889724.  It adds an extra extension (not loaded by default--it will need to be enabled in Thimble) to watch and warn on any delete or rename to the project's root `index.html` file.\r\n\r\nTo test this, do the following:\r\n* `npm run build`\r\n* `npm start`\r\n* load http://localhost:8000/src/hosted.html?enableExtensions=bramble-watch-index.html (NOTE: the extension must be manually enabled in the URL)\r\n* Make sure you have an `index.html` file, then try right-clicking and `Rename` and `Delete`.  Both should show a modal dialog with info.\r\n\r\nI'm not sure if the text I've got in the dialog is right.  I want to do another patch in Thimble that offers to create an `index.html` on publish, but decided to only warn about the issue here.\r\n\r\nI've also added jshint excludes for `src/nls` to stop jshint complaining about strings as if they are code, and breaking the build.\r\n\r\nr? @gideonthomas, @flukeout "},"comment":{"url":"https://api.github.com/repos/mozilla/brackets/issues/comments/259206172","html_url":"https://github.com/mozilla/brackets/pull/564#issuecomment-259206172","issue_url":"https://api.github.com/repos/mozilla/brackets/issues/564","id":259206172,"user":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T17:42:44Z","updated_at":"2016-11-08T17:42:44Z","body":"@flukeout here's the screenshot:\r\n<img width=\"963\" alt=\"screen shot 2016-11-08 at 12 42 02 pm\" src=\"https://cloud.githubusercontent.com/assets/5816130/20110056/d4234c96-a5b0-11e6-9b9a-638c95671e46.png\">\r\n"}}
{"actor":{"display_login":"gideonthomas"}}