Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Added port flag to webpack-dev-server #26

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Added port flag to webpack-dev-server #26

wants to merge 1 commit into from

Conversation

zacherkkila
Copy link

Obviously not a huge deal but this flag just needs to be set uniquely for each app if you want to run multiple dev apps at once (i.e. server and client program). Currently, if localhost:8080 is in use, the dev server starts on localhost:8081 and then grabs the index.js from localhost:8080.

This will instead throw Error: listen EADDRINUSE 0.0.0.0:8080, pointing you in a little more clear direction of what is going on

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.

1 participant