You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Soref (JIRA)" <ji...@apache.org> on 2013/11/13 21:27:21 UTC

[jira] [Commented] (CB-5377) cordova serve shouldn't say it's running a web server on a port until it manages to open the port

    [ https://issues.apache.org/jira/browse/CB-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821790#comment-13821790 ] 

Josh Soref commented on CB-5377:
--------------------------------

https://github.com/apache/cordova-cli/pull/86

> cordova serve shouldn't say it's running a web server on a port until it manages to open the port
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-5377
>                 URL: https://issues.apache.org/jira/browse/CB-5377
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Josh Soref
>            Assignee: Josh Soref
>            Priority: Minor
>
> steps:
> 1. run `cordova serve` and suspend it (or anything else which listens on port 8000)
> 2. run `cordova serve` again
> Static file server running on port 8000 (i.e. http://localhost:8000)
> CTRL + C to shut down
> { [Error: listen EADDRINUSE] code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen' }



--
This message was sent by Atlassian JIRA
(v6.1#6144)