garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.67k stars 605 forks source link

Feature: Custom Port for Remote Server #1439

Closed kiwi-josh closed 1 year ago

kiwi-josh commented 1 year ago

Add the ability to run the remote server on a custom port by providing the BACKSTOP_REMOTE_HTTP_PORT environment variable.

This lets you do things such as: BACKSTOP_REMOTE_HTTP_PORT=4009 yarn run remote to start a given server BACKSTOP_REMOTE_HTTP_PORT=4009 yarn run stop to stop a given server etc

Helps work towards resolving https://github.com/garris/ember-backstop/issues/34

garris commented 1 year ago

@kiwi-josh Thank you for your contribution with this.

If you get a chance -- do you mind validating that everything is working as expected?

Latest version is 6.1.3