Skip to content

Suggest another port when 3000 is busy - #243

Merged
gaearon merged 1 commit into
masterfrom
port
Jul 27, 2016
Merged

Suggest another port when 3000 is busy#243
gaearon merged 1 commit into
masterfrom
port

Conversation

@gaearon

Copy link
Copy Markdown
Contributor

I’m taking #101 and adding some minor refactoring on top.
I will merge without squashing so original author commits are preserved.

@gaearon

Copy link
Copy Markdown
ContributorAuthor

(I will probably squash first several commits though)

@ghostghost added the CLA Signed label Jul 27, 2016
@chocnut

Copy link
Copy Markdown
Contributor

@gaearon afaik with #101 the e2e failed because it can't find the newly created utilities/prompt.js wonder why tho haven't check. just get back today. seems like you're changing it already so I'll hold any commit now. thanks!

@ghostghost added the CLA Signed label Jul 27, 2016
@gaearon

Copy link
Copy Markdown
ContributorAuthor

@chocnut Thanks, this is really good for now! I think it was failing because of regex replacement of any numbers in entry points—which happened to replace parts of test directory paths on CI 😄 . I’m currently looking into another approach to this. I made webpack configs parameterizable, but to be honest, I want to find a way to get rid of port/host in configs completely if possible.

@ghostghost added the CLA Signed label Jul 27, 2016
Comment threadconfig/webpack.config.dev.js Outdated

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Haha seriously. This also fixes #194 in my testing.
I think this was only necessary because contentBase is configurable in Webpack.. which it isn’t here.

@gaearon
gaearon merged commit 2edf218 into masterJul 27, 2016
@gaearon
gaearon deleted the port branch July 27, 2016 20:23
@locklockBot locked and limited conversation to collaborators Jan 22, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gaearon@chocnut