This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Description
Prerequisites
Description
Saving a JS file while Live Development session is opened causes the page in Chrome to reload.
When you go back to the HTML markup and edit your code there, you cant see any highlights or changes.
This is probably due to fact that after the refresh the remote markup (the code in actual browser) does not contain data-brackets-id attributes.
You 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)
I didn't have any better idea for title of this issue.
Steps to Reproduce
- Start Live Preview on any HTML file.
- Have fun there (see that everything actually works, highlight and changes are applied)
- Attach some Javascript file to the main HTML file
- Edit linked javascript file
- The changes made in JS file are applied
- Go back to your HTML file
- Try to have fun again
- No luck - there's no highlighting nor live changes applied to the browser.
Expected behavior: Every part of Live Preview works even if you changed some javascript.
Actual behavior: Highlight and Live changing of text/tags does not work.
Versions
OSX Sierra 10.12.1 (16B2555)
Brackets 1.8