-
Notifications
You must be signed in to change notification settings - Fork 75
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
Conversation
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); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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...
Allows you so specify a directory:port when running the serve command.