exhaust icon indicating copy to clipboard operation
exhaust copied to clipboard

Keeps servers in background

Open GCorbel opened this issue 9 years ago • 4 comments

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.

GCorbel avatar Jan 06 '16 11:01 GCorbel

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.

GCorbel avatar Jan 06 '16 11:01 GCorbel

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.

GCorbel avatar Jan 06 '16 11:01 GCorbel

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.

mwoods79 avatar Mar 03 '16 15:03 mwoods79

I have to check... I don't know if I will use it in the future...

Thanks!

GCorbel avatar Mar 03 '16 16:03 GCorbel