exhaust
exhaust copied to clipboard
Keeps servers in background
I like exhaust but I dislike the fact it have to start two servers each time I run my specs. It can be cool to keep severs running in background. I suggest to use exhaust with Spring. When Spring is loaded, it keeps severs in background and it stop only when spring is stopped.
I will do a pull request. Please, let me know what you think.
We can also do commands exhaust start
and exhaust stop
, to start or stop server, and functions Exhaust.run
, that check if serevers are running, and Exhaust.run!
to force to start severs.
Spring is not a good idea because it does not work outside of rails and I think exhaust shoud be used in a separated app.
Thanks for the feedback. I really didn't know if anyone was using this gem. It wouldn't be difficult to add exhaust start
and exhaust stop
. Do you want to make a pull request? I probably won't have time for a few weeks.
I have to check... I don't know if I will use it in the future...
Thanks!