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

move starting of static server to live dev start time and fix up some comments #2993

Merged
merged 5 commits into from
Feb 28, 2013

Conversation

joelrbrandt
Copy link
Contributor

Addresses #2987 and #2988 by moving the starting of the static server to live dev start time. Also fixes up some comments that were out of sync with an API change.

Assinging to @redmunds
cc @njx
Should also really really fix #2981 (cc @gruehle )

@joelrbrandt
Copy link
Contributor Author

@redmunds don't review/merge this yet. Needs to be updated for a few changes to main in unit tests that just landed. I'm working on it now.

@joelrbrandt
Copy link
Contributor Author

@redmunds This is now ready for review again. Updated to include modifications to main.js for @njx unit tests.

@redmunds
Copy link
Contributor

reviewing


_nodeConnectionDeferred.done(function (nodeConnection) {
if (nodeConnection.connected()) {
var projectPath = ProjectManager.getProjectRoot().fullPath;
Copy link
Contributor

Choose a reason for hiding this comment

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

I can't remember why the projectPath var was introduced, but it looks like it is no longer necessary since it's only used once.

@redmunds
Copy link
Contributor

Looks pretty good. Done with initial review.

@joelrbrandt
Copy link
Contributor Author

@redmunds fixes done. I'm going to start on unit tests now (but feel free to merge this pull if you think it's done -- I'll submit the unit tests separately).

@redmunds
Copy link
Contributor

Looks good. Merging.

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.

[http-server] Error starting server after restarting Brackets
2 participants