I am using version 6.0.0 and when trying to change the webserver port using the --webserver-port argument is still remains 8081 as the default polymer serve port.
Indeed, the port is not passed during server creation (https://github.com/Polymer/web-component-tester/blob/master/runner/webserver.ts#L136)
Also, even if the hostname looks like it's passed, localhost is hard coded : https://github.com/Polymer/web-component-tester/blob/master/runner/webserver.ts#L184
The hostname issue has already been reported and fixed in another branch : https://github.com/Polymer/web-component-tester/issues/523
@Polymer team : is there any impediments to merge the use-hostname branch into master ?
The new pr fixes the issue and ensure ensure that the correct default value is used when the user does not set the port.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Indeed, the port is not passed during server creation (https://github.com/Polymer/web-component-tester/blob/master/runner/webserver.ts#L136)
Also, even if the hostname looks like it's passed, localhost is hard coded : https://github.com/Polymer/web-component-tester/blob/master/runner/webserver.ts#L184
The hostname issue has already been reported and fixed in another branch : https://github.com/Polymer/web-component-tester/issues/523
@Polymer team : is there any impediments to merge the use-hostname branch into master ?