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

Pass the remaining args when running serve #35

Merged
merged 3 commits into from
Apr 11, 2018
Merged

Conversation

nshahan
Copy link
Contributor

@nshahan nshahan commented Apr 10, 2018

Allows you so specify a directory:port when running the serve command.

@nshahan nshahan requested a review from kevmoo April 10, 2018 22:19
@nshahan
Copy link
Contributor Author

nshahan commented Apr 10, 2018

Can you think of a sane way to test that we don't regress on this feature?

@kevmoo
Copy link
Member

kevmoo commented Apr 10, 2018

Can you think of a sane way to test that we don't regress on this feature?

An integration test...

@@ -49,6 +49,9 @@ class ServeCommand extends CommandBase {
arguments.add('--log-requests');
}

// The remaining arguments should be interpreted as [<directory>[:<port>]].
arguments.addAll(argResults.rest);
Copy link
Member

Choose a reason for hiding this comment

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

Please bump the version and add a -dev, and add a note in the changelog

Copy link
Member

Choose a reason for hiding this comment

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

@nshahan – I took care of the rebase and changelog. Taking a look at an integration test now...

@kevmoo
Copy link
Member

kevmoo commented Apr 10, 2018

#36 will help travis go green, @nshahan

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.

3 participants