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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-cli
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: