Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

fix 5110: Switching to other file while Live Development is connecting causes it to fail #5268

Merged
merged 2 commits into from
Sep 24, 2013

Conversation

couzteau
Copy link
Member

ensure _doLaunchAfterServerReady uses the document that was current when the GoLive command

@ghost ghost assigned njx Sep 20, 2013
@peterflynn
Copy link
Member

@ingorichter This covers one of the changes I made in my pflynn/indexhtml-hack branch. Nice...

@njx
Copy link
Contributor

njx commented Sep 24, 2013

I'm not super familiar with the logic in this area, but the fix makes sense.

I wonder if it would be worth adding unit tests around some of these kinds of order-of-operations issues. I know we've talked about it in the past, and it's tricky because we'd really need to mock a lot of stuff out, I think--and maybe it's not worth it in that case because it wouldn't really be testing real-world cases, just our internal logic. But that can be valuable too since it could give us greater confidence that new changes won't break those things.

Anyway, I won't let that hold up this pull request :)

njx added a commit that referenced this pull request Sep 24, 2013
fix 5110: Switching to other file while Live Development is connecting causes it to fail
@njx njx merged commit 36b06bc into master Sep 24, 2013
@njx njx deleted the jhagenst/fix-5110 branch September 24, 2013 01:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants