Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Live preview] Changing preferences in brackets.json causes the LP to close #13824

Open
core-ai-bot opened this issue Aug 31, 2021 · 0 comments

Comments

@core-ai-bot
Copy link
Member

Issue by Worie
Thursday Apr 06, 2017 at 12:57 GMT
Originally opened as adobe/brackets#13275


Description

During implementation of adobe/brackets#12949 (review) i've created a piece of code that'd allow the user to change the livedev.remoteHighlight without breaking the Live Preview session (so that user can experiment easier with customization of remoteHighlight).

Meanwhile, changes made in adobe/brackets@d6ae906 to LiveDevelopment/main.js (adobe/brackets@d6ae906#diff-71eea40ea29ec83062c1151ff5ee0dc2) caused that changing any part of brackets.json closes the LivePreview.

Steps to Reproduce

  1. Open live preview on some file.
  2. Change any part of brackets.json
  3. Live preview is closed without any explicit message.

What I suggest is that we should either provide a meaningful message to the user, that he cannot change preferences while LP is active (otherwise it closes) and remove unnecessary code (updateConfig in RemoteFunctions.js and change listener on some preferences in LiveDevelopment/main.js) or reenable the ability to change brackets.json file while LP is open without closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant