voltrb / volt

A Ruby web framework where your Ruby runs on both server and client
MIT License
3.22k stars 196 forks source link

Server process doesn't actually stop #354

Open MaxPleaner opened 8 years ago

MaxPleaner commented 8 years ago

If I start volt server -p 3000 and then exit the server with control+c, the server says it has stopped and if i visit localhost:3000, I get a "cannot connect" page as expected.

However, if I then try to start up the server again on the same port, I get the error that the port is already in use.

Then I run ps aux | grep volt and kill -9 the PID.

After doing this, trying to run volt server -p 3000 opens the server, but it seems like the original server process is still running. I.e. if I run App#1 on port 3000, close it, and start App#2 on port 3000, I still get errors about App#1 code.

The only thing I have found that works is a. restarting my computer or b. starting the server on a different port.