Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

buster-server says "running" even if address is already in use #432

Closed
dkl-ppi opened this issue Oct 24, 2014 · 2 comments
Closed

buster-server says "running" even if address is already in use #432

dkl-ppi opened this issue Oct 24, 2014 · 2 comments
Assignees
Labels

Comments

@dkl-ppi
Copy link
Member

dkl-ppi commented Oct 24, 2014

Starting buster-server twice produces the following output for me on my windows machine:

Address already in use. Pick another port with -p/--port to start buster-server
buster-server running on http://localhost:1111

The second message isn't displayed on my linux machine. I don't know whether it is the OS or node.js version which makes the different.

I have seen that we use process.nextTick() in buster-server-cli\lib\server-cli.js. I think using a callback for server.listen instead, would be better and solve this problem.

@dkl-ppi dkl-ppi self-assigned this Oct 24, 2014
@dkl-ppi dkl-ppi changed the title buster-server says "running" even if address is always in use buster-server says "running" even if address is already in use Oct 24, 2014
@dkl-ppi dkl-ppi added the Bug label Oct 27, 2014
@GCheung55
Copy link
Contributor

Please take a look at the PR.

@dkl-ppi
Copy link
Member Author

dkl-ppi commented Jan 23, 2015

Fixed in version 0.3.2 of buster-server-cli.

@dkl-ppi dkl-ppi closed this as completed Jan 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants