vigour-io / packer-server

Asset manager for native wrapped application
0 stars 1 forks source link

port isn't released when process exits #24

Closed shawninder closed 8 years ago

shawninder commented 8 years ago

Repro:

  1. Launch server
  2. Ctrl-C out of it
  3. Launch it again
  4. EXPECT it to launch correctly
  5. OBSERVE an EADDRINUSE error for the port packer-server wanted to listen on

Temporary solution: killing the packer-server process with sudo kill -9 (without -9 won't work) releases the port

This broken behaviour is NOT observed when everything concerning git-spy is commented out.

shawninder commented 8 years ago

fixed in https://github.com/vigour-io/git-spy/commit/7434c4653073ef8b16297f67dcc1d1e8bd90d420 and https://github.com/vigour-io/git-spy/commit/c1c06e3b65394e02e0a3af7ee48f6de91713d87b