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

WIP: Live Updates from Xcode Server (proof of concept) #135

Closed
wants to merge 1 commit into from

Conversation

czechboy0
Copy link
Member

YES! finally got it working. will need to be moved to XcodeServerSDK, naturally, but this is how you can hook into it. took me months to find this one.

Fixes #7.

… naturally, but this is how you can hook into it. took me months to find this one.
func poll(id: String) {

let timestamp = self.timestamp()
let url = "https://localhost/xcode/internal/socket.io/1/xhr-polling/\(id)?t=\(timestamp)"
Copy link
Member Author

Choose a reason for hiding this comment

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

Try JSON polling as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually, that's worse. Sticking with xhr.

@buildasaur
Copy link
Collaborator

Result of Integration 1

Duration: 2 minutes and 16 seconds
Result: All 19 tests passed, but please fix 3 warnings.
Test Coverage: 24%.

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

Successfully merging this pull request may close these issues.

2 participants