Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5377

cordova serve shouldn't say it's running a web server on a port until it manages to open the port

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None

      Description

      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' }

        Attachments

          Activity

            People

            • Assignee:
              jsoref Josh Soref
              Reporter:
              jsoref Josh Soref
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: