Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

fix(serve): assign all ports dynamically #727

Merged

Conversation

huerlisi
Copy link
Contributor

@huerlisi huerlisi commented Feb 9, 2017

Short description of what this resolves:

Up to now only the logger port was dynamically increased if another app
is running already. This meant that manually specifying port arguments
for server and live reload was needed when directly using the
ionic-app-scripts server command. The ionic CLI command does
already take care of this.

Changes proposed in this pull request:

This patch ensures all the ports are chosen dynamically, so it's now
possible to run two applications without any manual intervention.

Fixes: #694

Up to now only the logger port was dynamically increased if another app
is running already. This meant that manually specifying port arguments
for server and live reload was needed when directly using the
`ionic-app-scripts server` command. The `ionic` CLI command does
already take care of this.

This patch ensures all the ports are chosen dynamically, so it's now
possible to run two applications without any manual intervention.
Copy link
Contributor

@jthoms1 jthoms1 left a comment

Choose a reason for hiding this comment

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

LGTM

@danbucholtz danbucholtz merged commit 6b4115c into ionic-team:master Feb 9, 2017
@huerlisi huerlisi deleted the assign-all-ports-dynamically branch February 9, 2017 16:20
@huerlisi
Copy link
Contributor Author

huerlisi commented Feb 9, 2017

Looks like the builds are broken. Will investigate...

@huerlisi
Copy link
Contributor Author

huerlisi commented Feb 9, 2017

Missed to adapt the tests. Will do and create a new PR. Also filed #730 so we might prevent this from happening again;-)

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.

3 participants