-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Live Preview MultiBrowser improvements (#10206, #10239) #9112
Comments
Comment by busykai
|
Comment by redmunds
Results I don't think it's related to this change. Let me know. |
Comment by busykai
CC |
Comment by sebaslv
By following these steps I got LiveDev working. Please, let me know if those are representative of the steps you have described or if I misunderstood something. Thanks. |
Comment by redmunds
FYI, I'm seeing this on Win7 Firefox (latest) with WampServer 2.2 . |
Comment by sebaslv
It seems that it never connects beacuse the page is not instrumented so the Currently we're not managing that error. I'll create a fix for that independently of this case since it's pending. The thing is that it would close the connection which is something different to what the current implementation does in this scenario. I see that it launches the page and moves the icon to a connected status but keep live editing disabled. I could figure out how to identify the case and handle that in this particular way but not sure if that is the right UX we would like for this. What do you guys suggest? |
Comment by redmunds
Seems like doing a better job of cleaning up when changing implementations should fix that. |
Comment by sebaslv Sounds good. I'll create a PR for that issue. Thanks. |
Comment by redmunds
|
Comment by busykai
|
Comment by redmunds Merging. |
Issue by busykai
Saturday Dec 27, 2014 at 22:04 GMT
Originally opened as adobe/brackets#10285
Fix #10206 (point 1):
PreferencesManager.on("change") was executing before AppInit.appReady().
This was causing various inconsistencies, including setting up the UI before
LiveDevelopment is actually initialized. Handling of pref change is now moved
to AppInit.appReady and the implementation is set only after the modules are
actually initialized.
Fix #10239:
Toggle menu item to enable/disable multi-browser live preview. Under
File -> Enable Experimental Live Preview
. Multiple fixes to implementation life-cycle to support correct state transitions on switch.Minor nits included: pref definition improved, suite name made shorter, spare lines removed, documentation improvements.
CC:
@
peterflynn,@
sebaslv,@
redmundsbusykai included the following code: https://github.com/adobe/brackets/pull/10285/commits
The text was updated successfully, but these errors were encountered: