Skip to content

Live Query Server does not shut down properly #4593

Closed
@acinader

Description

@acinader

Issue:
ctrl-c kills the parse-server, but not the live-query server.

This issue arises when:

  1. I am doing local cloud code development on my laptop.
  2. I am running the live-query server in the same process as the parse server. Starting server with npm start
  3. When I try to cycle the parse-server using ctrl-c (SIGINT) or kill pid (SIGKILL) the process for the livequery server doesn't die. Attempts to restart the server with npm start will fail with a port in use message (Unable to listen on port 8082. The port is already in use.).
  • Server
    • parse-server version (Be specific! Don't say 'latest'.): true on 2.7 and master
    • Operating System: osx 10.13.4
    • Hardware: mbp (late 2016)
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions