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

Fix #5537: Start live development even if there is no open file #5547

Merged
merged 3 commits into from
Oct 24, 2013

Conversation

marcelgerber
Copy link
Contributor

This PR fixes the issue #5537 where you can't start Live Development if there is no open file even if there is an index.html in it.

It works, but please check to code to decide whether this is a good solution/fix or just a bad workaround.

The LiveDev tests ran fine, I haven't tested any others.

@ghost ghost assigned ingorichter Oct 18, 2013
@marcelgerber
Copy link
Contributor Author

@dangoor Can you please test this to see if it's the expected behaviour?

@dangoor
Copy link
Contributor

dangoor commented Oct 21, 2013

@SAplayer Yes, this appears to behave as I was hoping for. @ingorichter will do the review, because he's familiar with the code from his recent work allowing you to start live development from CSS files.

ingorichter added a commit that referenced this pull request Oct 24, 2013
Fix #5537: Start live development even if there is no open file
@ingorichter ingorichter merged commit 84a5f61 into adobe:master Oct 24, 2013
@ingorichter
Copy link
Contributor

@SAplayer Thanks!

@marcelgerber marcelgerber deleted the find-index-no-open-file branch October 25, 2013 16:21
};

while (!indexFileFound && stillInProjectTree) {
i = CollectionUtils.indexOf(filteredFiltered, filterIndexFile);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by, after-the-fact comment: CollectionUtils.indexOf is deprecated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there before ;) Not my fault

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