{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/12997","repository_url":"https://api.github.com/repos/adobe/brackets","labels_url":"https://api.github.com/repos/adobe/brackets/issues/12997/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/12997/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/12997/events","html_url":"https://github.com/adobe/brackets/issues/12997","id":197172424,"number":12997,"title":"Live preview does not highlight HTML nodes after JavaScript change.","user":{"login":"Worie","id":6313514,"avatar_url":"https://avatars.githubusercontent.com/u/6313514?v=3","gravatar_id":"","url":"https://api.github.com/users/Worie","html_url":"https://github.com/Worie","followers_url":"https://api.github.com/users/Worie/followers","following_url":"https://api.github.com/users/Worie/following{/other_user}","gists_url":"https://api.github.com/users/Worie/gists{/gist_id}","starred_url":"https://api.github.com/users/Worie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Worie/subscriptions","organizations_url":"https://api.github.com/users/Worie/orgs","repos_url":"https://api.github.com/users/Worie/repos","events_url":"https://api.github.com/users/Worie/events{/privacy}","received_events_url":"https://api.github.com/users/Worie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-22T13:16:29Z","updated_at":"2017-02-25T03:08:05Z","closed_at":"2017-01-05T22:55:31Z","body":"### Prerequisites\r\n\r\n* [x] Can you reproduce the problem with `Debug -> Reload Without Extensions`? \r\n* [x] Did you perform a cursory search to see if your bug or enhancement is already reported? \r\n* [x] Did you read the [Troubleshooting guide](https://github.com/adobe/brackets/wiki/Troubleshooting)?\r\n\r\n### Description\r\n\r\nSaving a JS file while Live Development session is opened causes the page in Chrome to reload. \r\nWhen you go back to the HTML markup and edit your code there, you cant see any highlights or changes. \r\nThis is probably due to fact that after the refresh the remote markup (the code in actual browser) does not contain `data-brackets-id` attributes. \r\n\r\nYou can see that this line throws an error https://github.com/adobe/brackets/blob/master/src/LiveDevelopment/Agents/RemoteFunctions.js#L716 (`_queryBracketsID` on the  DOMEditHandler is `undefined`) \r\n\r\nI didn't have any better idea for title of this issue.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Start Live Preview on any HTML file.\r\n2. Have fun there (see that everything actually works, highlight and changes are applied)\r\n3. Attach some Javascript file to the main HTML file\r\n4. Edit linked javascript file \r\n5. The changes made in JS file are applied\r\n6. Go back to your HTML file\r\n7. Try to have fun again \r\n8. No luck - there's no highlighting nor live changes applied to the browser.\r\n\r\n**Expected behavior:** Every part of Live Preview works even if you changed some javascript.\r\n\r\n**Actual behavior:** Highlight and Live changing of text/tags does not work.\r\n\r\n### Versions\r\n\r\nOSX Sierra 10.12.1 (16B2555)\r\nBrackets 1.8"},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/282455384","html_url":"https://github.com/adobe/brackets/issues/12997#issuecomment-282455384","issue_url":"https://api.github.com/repos/adobe/brackets/issues/12997","id":282455384,"user":{"login":"kayyali18","id":13953920,"avatar_url":"https://avatars.githubusercontent.com/u/13953920?v=3","gravatar_id":"","url":"https://api.github.com/users/kayyali18","html_url":"https://github.com/kayyali18","followers_url":"https://api.github.com/users/kayyali18/followers","following_url":"https://api.github.com/users/kayyali18/following{/other_user}","gists_url":"https://api.github.com/users/kayyali18/gists{/gist_id}","starred_url":"https://api.github.com/users/kayyali18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayyali18/subscriptions","organizations_url":"https://api.github.com/users/kayyali18/orgs","repos_url":"https://api.github.com/users/kayyali18/repos","events_url":"https://api.github.com/users/kayyali18/events{/privacy}","received_events_url":"https://api.github.com/users/kayyali18/received_events","type":"User","site_admin":false},"created_at":"2017-02-25T03:08:05Z","updated_at":"2017-02-25T03:08:05Z","body":"It seems like you guys fixed the problem I am having. My question is I can't figure out which file to download to fix the problem with my Brackets. Help?"}}
{"actor":{"display_login":"kayyali18"}}